コード例 #1
0
 /// <summary>
 /// Create a new Ctry object.
 /// </summary>
 /// <param name="countryId">Initial value of CountryId.</param>
 public static Ctry CreateCtry(long countryId)
 {
     Ctry ctry = new Ctry();
     ctry.CountryId = countryId;
     return ctry;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Ctries EntitySet.
 /// </summary>
 public void AddToCtries(Ctry ctry)
 {
     base.AddObject("Ctries", ctry);
 }