Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 Sys_CityInfoMore 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="city">City 属性的初始值。</param>
 /// <param name="pinYin">PinYin 属性的初始值。</param>
 /// <param name="province">Province 属性的初始值。</param>
 public static Sys_CityInfoMore CreateSys_CityInfoMore(global::System.Int32 id, global::System.String city, global::System.String pinYin, global::System.String province)
 {
     Sys_CityInfoMore sys_CityInfoMore = new Sys_CityInfoMore();
     sys_CityInfoMore.Id = id;
     sys_CityInfoMore.City = city;
     sys_CityInfoMore.PinYin = pinYin;
     sys_CityInfoMore.Province = province;
     return sys_CityInfoMore;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 Sys_CityInfoMore EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_CityInfoMore(Sys_CityInfoMore sys_CityInfoMore)
 {
     base.AddObject("Sys_CityInfoMore", sys_CityInfoMore);
 }