Thanks first!

I'm new to NHibernate. I use version 4.X.

I have a base entity class like this:
public abstract class  EntityBase<TId>
{
     public TId Id { get; set; }
    
     // omit other method members
}

then, I have a derived class like this:
public class Product:EntityBase<int>
{
    public string Name { get; set; }
    public decimal Price { get; set }
    
    // omit other members
}

Now, could anybody teach me how to map Id, Name, Price these three 
properties into one data table like this:

 -------------------------------------
     Id  |   Name  |   Price 
 -------------------------------------

Thanks anyway!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to