could someone please direct me to the best source of online
documentation as to how to create a new table through nhibernate?
I've got my C# class created:
*********************************************************
namespace StyleApplication.Data.Models
{
public class StyleImport : BusinessObject<StyleImport>
{
#region Private Members
private int _id;
private string _addCustName = string.Empty;
private string _dateLastPriceChange = string.Empty;
private string _dateLastSold = string.Empty;
#endregion
#region Public Properties
[PrimaryKey(PrimaryKeyType.Identity), XmlIgnore]
public virtual int ImportID
{
get { return _id; }
set { _id = value; }
}
[Property(Length = 255)]
public virtual string AddCustomerName
{
get { return _addCustName; }
set { _addCustName = value; }
}
[Property(Length = 255)]
public virtual string DateLastPriceChange
{
get { return _dateLastPriceChange; }
set { _dateLastPriceChange = value; }
}
[Property(Length = 255)]
public virtual string DateLastSoldYYMM
{
get { return _dateLastSold; }
set { _dateLastSold = value; }
}
#endregion
}
}
***************************************************
now I need some way of creating a table in MS SQL Server via this
class. What's my next step?
Thanks...
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.