wrong place ?
2010/4/12 Peter Larsen [CPH] <[email protected]>
> Hi,
>
> I have a automapping class mapped to a table where the ID field is
> named TYPEID.
>
> public class TestClass : IClassConvention
> {
> public virtual void Apply(IClassInstance instance)
> {
> instance.Schema("schemaName");
> }
>
> public virtual string TypeID { get; set; }
> public virtual int TypeName { get; set; }
> }
>
> Since NHibernate must have an ID field, it is necessary to map field
> TypeID to NHibernates ID field.
> How do i do that ?
>
> Thank you in advance.
> /Peter
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>
--
Fabio Maulo