コード例 #1
0
 /// <summary>
 /// Create a new geo_cities object.
 /// </summary>
 /// <param name="cid">Initial value of the cid property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="socr">Initial value of the socr property.</param>
 /// <param name="code">Initial value of the code property.</param>
 /// <param name="region_id">Initial value of the region_id property.</param>
 /// <param name="subregion_id">Initial value of the subregion_id property.</param>
 /// <param name="city_id">Initial value of the city_id property.</param>
 /// <param name="ppp_id">Initial value of the ppp_id property.</param>
 /// <param name="aa_status">Initial value of the aa_status property.</param>
 /// <param name="index">Initial value of the index property.</param>
 /// <param name="gninmb">Initial value of the gninmb property.</param>
 /// <param name="uno">Initial value of the uno property.</param>
 /// <param name="ocatd">Initial value of the ocatd property.</param>
 /// <param name="status">Initial value of the status property.</param>
 public static geo_cities Creategeo_cities(global::System.Int32 cid, global::System.String name, global::System.String socr, global::System.String code, global::System.Int16 region_id, global::System.Int16 subregion_id, global::System.Int16 city_id, global::System.Int16 ppp_id, global::System.Int16 aa_status, global::System.Int32 index, global::System.Int16 gninmb, global::System.Int16 uno, global::System.String ocatd, global::System.Int16 status)
 {
     geo_cities geo_cities = new geo_cities();
     geo_cities.cid = cid;
     geo_cities.name = name;
     geo_cities.socr = socr;
     geo_cities.code = code;
     geo_cities.region_id = region_id;
     geo_cities.subregion_id = subregion_id;
     geo_cities.city_id = city_id;
     geo_cities.ppp_id = ppp_id;
     geo_cities.aa_status = aa_status;
     geo_cities.index = index;
     geo_cities.gninmb = gninmb;
     geo_cities.uno = uno;
     geo_cities.ocatd = ocatd;
     geo_cities.status = status;
     return geo_cities;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the geo_cities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTogeo_cities(geo_cities geo_cities)
 {
     base.AddObject("geo_cities", geo_cities);
 }