public void Delete(App.Models.Domain.AppOwner item) { if (item != null) { this._entitySet.Remove(item); } }
public void DeleteById(int id) { App.Models.Domain.AppOwner item = this.FindById(id); if (item != null) { this._entitySet.Remove(item); } }
public IQueryable <App.Models.Domain.Sheet> GetByOwner(App.Models.Domain.AppOwner owner) { return(this._entitySet.Where(x => x.Owner.Id == owner.Id)); }
public void Add(App.Models.Domain.AppOwner item) { this._entitySet.Add(item); }