コード例 #1
0
 /// <summary>
 /// Create a new MA_DISTRITO object.
 /// </summary>
 /// <param name="idDistrito">Initial value of the idDistrito property.</param>
 /// <param name="idProvincia">Initial value of the idProvincia property.</param>
 public static MA_DISTRITO CreateMA_DISTRITO(global::System.Int32 idDistrito, global::System.Int32 idProvincia)
 {
     MA_DISTRITO mA_DISTRITO = new MA_DISTRITO();
     mA_DISTRITO.idDistrito = idDistrito;
     mA_DISTRITO.idProvincia = idProvincia;
     return mA_DISTRITO;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MA_DISTRITO EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMA_DISTRITO(MA_DISTRITO mA_DISTRITO)
 {
     base.AddObject("MA_DISTRITO", mA_DISTRITO);
 }