コード例 #1
0
 /// <summary>
 /// 建立新 tblRecordSound 物件。
 /// </summary>
 /// <param name="playIndex">PlayIndex 屬性的初始值。</param>
 /// <param name="name">Name 屬性的初始值。</param>
 public static tblRecordSound CreatetblRecordSound(global::System.Int32 playIndex, global::System.String name)
 {
     tblRecordSound tblRecordSound = new tblRecordSound();
     tblRecordSound.PlayIndex = playIndex;
     tblRecordSound.Name = name;
     return tblRecordSound;
 }
コード例 #2
0
 /// <summary>
 /// 將新物件加入 tblRecordSound EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblRecordSound(tblRecordSound tblRecordSound)
 {
     base.AddObject("tblRecordSound", tblRecordSound);
 }