Beispiel #1
0
        public Addon GetAddon(int id)
        {
            Addon addonPick = gmdb.Addons.Single(ad => ad.IDNumber == id);

            return(addonPick);
        }
        public Addon GetAddon(int id) // Regular select from addon table
        {
            Addon addonPick = gmdb.Addons.Single(ad => ad.IDNumber == id);

            return(addonPick);
        }
 // ---------- Create Queries ---------- //
 public void CreateAddon(Addon addon)
 {
     gmdb.Addons.InsertOnSubmit(addon);
     Save();
 }
Beispiel #4
0
 private void detach_Addons(Addon entity)
 {
     this.SendPropertyChanging();
     entity.Game = null;
 }
Beispiel #5
0
 private void attach_Addons(Addon entity)
 {
     this.SendPropertyChanging();
     entity.Game = this;
 }
Beispiel #6
0
 partial void DeleteAddon(Addon instance);
Beispiel #7
0
 partial void UpdateAddon(Addon instance);
Beispiel #8
0
 partial void InsertAddon(Addon instance);