/// <summary> /// Deprecated Method for adding a new object to the STATEs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSTATEs(STATE sTATE) { base.AddObject("STATEs", sTATE); }
/// <summary> /// Create a new STATE object. /// </summary> /// <param name="stateID">Initial value of the StateID property.</param> /// <param name="abbr">Initial value of the Abbr property.</param> /// <param name="name">Initial value of the Name property.</param> public static STATE CreateSTATE(global::System.Int32 stateID, global::System.String abbr, global::System.String name) { STATE sTATE = new STATE(); sTATE.StateID = stateID; sTATE.Abbr = abbr; sTATE.Name = name; return sTATE; }