/// <summary> /// 用于向 tblStockCheck EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTotblStockCheck(tblStockCheck tblStockCheck) { base.AddObject("tblStockCheck", tblStockCheck); }
/// <summary> /// 创建新的 tblStockCheck 对象。 /// </summary> /// <param name="stockCheckID">StockCheckID 属性的初始值。</param> public static tblStockCheck CreatetblStockCheck(global::System.Guid stockCheckID) { tblStockCheck tblStockCheck = new tblStockCheck(); tblStockCheck.StockCheckID = stockCheckID; return tblStockCheck; }