Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Constants EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConstants(Constant constant)
 {
     base.AddObject("Constants", constant);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Constant object.
 /// </summary>
 /// <param name="constantID">Initial value of the ConstantID property.</param>
 public static Constant CreateConstant(global::System.Int32 constantID)
 {
     Constant constant = new Constant();
     constant.ConstantID = constantID;
     return constant;
 }