Castle.ActiveRecord.ActiveRecordBase.Create C# (CSharp) Method

Create() protected static method

Creates (Saves) a new instance to the database.
protected static Create ( object instance ) : void
instance object The ActiveRecord instance to be created on the database
return void
		protected internal static void Create(object instance)
		{
			InternalCreate(instance, false);
		}

Same methods

ActiveRecordBase::Create ( ) : void

Usage Example

Ejemplo n.º 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