예제 #1
0
 /// <summary>
 /// 用于向 Shops EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToShops(Shops shops)
 {
     base.AddObject("Shops", shops);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 Shops 对象。
 /// </summary>
 /// <param name="s_ID">S_ID 属性的初始值。</param>
 public static Shops CreateShops(global::System.Int32 s_ID)
 {
     Shops shops = new Shops();
     shops.S_ID = s_ID;
     return shops;
 }