상속: System.Data.Objects.DataClasses.EntityObject
예제 #1
0
 /// <summary>
 /// Create a new actor object.
 /// </summary>
 /// <param name="actor_id">Initial value of the actor_id property.</param>
 /// <param name="first_name">Initial value of the first_name property.</param>
 /// <param name="last_name">Initial value of the last_name property.</param>
 /// <param name="last_update">Initial value of the last_update property.</param>
 public static actor Createactor(global::System.Int32 actor_id, global::System.String first_name, global::System.String last_name, global::System.DateTime last_update)
 {
     actor actor = new actor();
     actor.actor_id = actor_id;
     actor.first_name = first_name;
     actor.last_name = last_name;
     actor.last_update = last_update;
     return actor;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the actors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToactors(actor actor)
 {
     base.AddObject("actors", actor);
 }