public void InsertMotorcycleCategory(string Name, string Remark) { DataAccessSearch.MotorcycleCategory motorcycleCategory = new DataAccessSearch.MotorcycleCategory { Id = Guid.NewGuid(), Name = Name, Remark = Remark }; context = new AddisTowerDataContext(); context.MotorcycleCategories.InsertOnSubmit(motorcycleCategory); context.SubmitChanges(); }
partial void UpdateMotorcycleCategory(MotorcycleCategory instance);
partial void DeleteMotorcycleCategory(MotorcycleCategory instance);
partial void InsertMotorcycleCategory(MotorcycleCategory instance);