Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Limit object.
 /// </summary>
 /// <param name="limitID">Initial value of the LimitID property.</param>
 /// <param name="limitLetter">Initial value of the LimitLetter property.</param>
 /// <param name="limitType">Initial value of the LimitType property.</param>
 /// <param name="limitDescription">Initial value of the LimitDescription property.</param>
 public static Limit CreateLimit(global::System.Int32 limitID, global::System.String limitLetter, global::System.Int32 limitType, global::System.String limitDescription)
 {
     Limit limit = new Limit();
     limit.LimitID = limitID;
     limit.LimitLetter = limitLetter;
     limit.LimitType = limitType;
     limit.LimitDescription = limitDescription;
     return limit;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Limits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLimits(Limit limit)
 {
     base.AddObject("Limits", limit);
 }