Still stuck on this issue. Isn't there a way
around it ?
On Nov 24, 2:50 pm, Calin wrote:
> Hi,
>
> This seems preatty basic, but I can't find the answer anywhere.
>
> I have a filed mapped like this:
> Map(x => x.BirthDate).Column("BirthDate")
>
> The data in the database contains some error
Not at this stage, unfortunately.
On Thu, Nov 26, 2009 at 9:25 AM, David Leite wrote:
> Thanks for your answers.
> So isn't there any trick to do it?
> My mappings are very simple:
> public class MyPersRootMap : ClassMap
>{
>public MyPersRootMap()
>{
>
>Id(x => x.I
Thanks for your answers.
So isn't there any trick to do it?
My mappings are very simple:
public class MyPersRootMap : ClassMap
{
public MyPersRootMap()
{
Id(x => x.Id);
Component(x => x.Reference, c
=>
{
c.Map(x => x.ObjectID).Col
Can't you use reflection to find them in a particular namespace or whatever
and then just call this method repeatedly?
On Thu, Nov 26, 2009 at 6:53 AM, av wrote:
> Thanks
>
> Is there any way to bulk "import" a bunch of these?
>
> On Nov 25, 2:37 pm, James Gregory wrote:
> > You can use ImportT
Thanks
Is there any way to bulk "import" a bunch of these?
On Nov 25, 2:37 pm, James Gregory wrote:
> You can use ImportType() in your ClassMap definition.
>
> On Wed, Nov 25, 2009 at 7:14 PM, av wrote:
> > Looking to do something like what was mentioned in the Nhibernate in
> > Action below. B
You can use ImportType() in your ClassMap definition.
On Wed, Nov 25, 2009 at 7:14 PM, av wrote:
> Looking to do something like what was mentioned in the Nhibernate in
> Action below. Besides including an hbm mapping file, is there a
> "fluent" way of importing non-mapped types? thanks
>
>
> "Us
Looking to do something like what was mentioned in the Nhibernate in
Action below. Besides including an hbm mapping file, is there a
"fluent" way of importing non-mapped types? thanks
"Using dynamic instantiation
If you don’t find working with arrays of values a little cumbersome,
NHibernate let’
I'm new to FNH, coming to it from SQLServer and all that mess, and I'm
trying to come up to speed on a new project.
We have the following (abridged) classes, where Claim is the parent
and Transaction is the child.
We have a dto that encapsulates a Claim with an array of Transaction.
The classes a
On Nov 24, 4:58 am, Paul Batum wrote:
> Interesting that the namespaces were the issue. I have no idea why this
> would be the case. If I find the time, I might try to reproduce it, because
> really this sounds like a bug to me.
Yes, it certainly seems like a bug.
> In general most people (in
Hi Guido,
I do have the file set for Copy Always. That was my first thought and
I appreciate the suggestion.
On Nov 23, 2:23 am, Guido Ziliotti wrote:
> If your mappings really work with fluent configuration then
> hibernate.cgf.xml file was not found in the right place. Have you set "Copy
> alw
@HMS
Unfortunately, I'm not entirely clear on your comment, but I would
very much apprecaite it if you could post back your solution.
On Nov 15, 5:04 pm, HMS wrote:
> It's telling you that you didn't use the Database call to configure
> the database. I don't have the solution on hand atm, but I'
Hi Stefan,
This was an easy one so I decided to bash it out. Its avaliable on my dev
branch now:
http://github.com/paulbatum/fluent-nhibernate/tree/dev
Use it like this:
CompositeId(x => x.Child).KeyProperty(x => x.ChildId, kp =>
kp.Type(typeof(MyCustomUserType)))
James should be pulling my ch
I have the same problem. Any solution yet?
On 17 Kasım, 20:51, birchoff wrote:
> Is is possible to set thesqltypeto use for thecolumngenerated by
> References method.I have a table whose primary key is a varchar and I
> have mapped the entity with a string id property. However when I try
> torefe
13 matches
Mail list logo