Castle.ActiveRecord.ActiveRecordBase.Create C# (CSharp) Метод

Create() публичный Метод

Creates (Saves) a new instance to the database.
If within a SessionScope the operation is going to be on hold until NHibernate (or you) decides to flush the session.
public Create ( ) : void
Результат void
		public virtual void Create()
		{
			Create(this);
		}

Same methods

ActiveRecordBase::Create ( object instance ) : void

Usage Example

Пример #1
0
 /// <summary>
 /// Creates (Saves) a new instance to the database.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be deleted</param>
 public static void Create(object instance)
 {
     ActiveRecordBase.Create(instance);
 }
All Usage Examples Of Castle.ActiveRecord.ActiveRecordBase::Create