/// <summary> /// 建立新 tblItemKindInfo 物件。 /// </summary> /// <param name="kindID">KindID 屬性的初始值。</param> /// <param name="kindName">KindName 屬性的初始值。</param> public static tblItemKindInfo CreatetblItemKindInfo(global::System.Int32 kindID, global::System.String kindName) { tblItemKindInfo tblItemKindInfo = new tblItemKindInfo(); tblItemKindInfo.KindID = kindID; tblItemKindInfo.KindName = kindName; return tblItemKindInfo; }
/// <summary> /// 將新物件加入 tblItemKindInfo EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTotblItemKindInfo(tblItemKindInfo tblItemKindInfo) { base.AddObject("tblItemKindInfo", tblItemKindInfo); }