/// <summary> /// Deprecated Method for adding a new object to the Constants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConstants(Constant constant) { base.AddObject("Constants", constant); }
/// <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; }