Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MP_State EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMP_State(MP_State mP_State)
 {
     base.AddObject("MP_State", mP_State);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new MP_State object.
 /// </summary>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="countryId">Initial value of the CountryId property.</param>
 /// <param name="stateName">Initial value of the StateName property.</param>
 public static MP_State CreateMP_State(global::System.Int32 stateId, global::System.Int32 countryId, global::System.String stateName)
 {
     MP_State mP_State = new MP_State();
     mP_State.StateId = stateId;
     mP_State.CountryId = countryId;
     mP_State.StateName = stateName;
     return mP_State;
 }