示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Productions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductions(Production production)
 {
     base.AddObject("Productions", production);
 }
示例#2
0
 /// <summary>
 /// Create a new Production object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="updatedOn">Initial value of the UpdatedOn property.</param>
 public static Production CreateProduction(global::System.Int32 id, global::System.String title, global::System.Decimal price, global::System.DateTime createdOn, global::System.DateTime updatedOn)
 {
     Production production = new Production();
     production.ID = id;
     production.Title = title;
     production.Price = price;
     production.CreatedOn = createdOn;
     production.UpdatedOn = updatedOn;
     return production;
 }