Пример #1
0
 /// <summary>
 /// 將新物件加入 tblItemKindInfo EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblItemKindInfo(tblItemKindInfo tblItemKindInfo)
 {
     base.AddObject("tblItemKindInfo", tblItemKindInfo);
 }
Пример #2
0
 /// <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;
 }