/// <summary> /// 用于向 Shops EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToShops(Shops shops) { base.AddObject("Shops", shops); }
/// <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; }