コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the STATEs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSTATEs(STATE sTATE)
 {
     base.AddObject("STATEs", sTATE);
 }
コード例 #2
0
 /// <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;
 }