public static IQueryable<PetShop.Core.Data.Supplier> ByStatus(this IQueryable<PetShop.Core.Data.Supplier> queryable, string status, params string[] additionalValues) { var statusList = new List<string> { status }; if (additionalValues != null) statusList.AddRange(additionalValues); if (statusList.Count == 1) return queryable.ByStatus(statusList[0]); return queryable.ByStatus(statusList); }
public static IQueryable<Petshop.Data.Entities.Item> ByStatus(this IQueryable<Petshop.Data.Entities.Item> queryable, System.String status, params System.String[] additionalValues) { var statusList = new List<System.String> { status }; if (additionalValues != null) statusList.AddRange(additionalValues); else statusList.Add(null); if (statusList.Count == 1) return queryable.ByStatus(statusList[0]); return queryable.ByStatus(statusList); }
public static IQueryable<Tracker.Core.Data.Task> ByStatus(this IQueryable<Tracker.Core.Data.Task> queryable, Tracker.Core.Data.Status status, params Tracker.Core.Data.Status[] additionalValues) { var statusList = new List<Tracker.Core.Data.Status> { status }; if (additionalValues != null) statusList.AddRange(additionalValues); if (statusList.Count == 1) return queryable.ByStatus(statusList[0]); return queryable.ByStatus(statusList); }
public static IQueryable<Tracker.Data.Entities.TaskDetail> ByStatus(this IQueryable<Tracker.Data.Entities.TaskDetail> queryable, System.String status, params System.String[] additionalValues) { var statusList = new List<System.String> { status }; if (additionalValues != null) statusList.AddRange(additionalValues); if (statusList.Count == 1) return queryable.ByStatus(statusList[0]); return queryable.ByStatus(statusList); }
public static IQueryable<Tracker.Data.Entities.Task> ByStatus(this IQueryable<Tracker.Data.Entities.Task> queryable, System.Int32 id) { return queryable.ByStatus(ComparisonOperator.Equals, id); }
public static IQueryable<Tracker.Data.Entities.Task> ByStatus(this IQueryable<Tracker.Data.Entities.Task> queryable, Tracker.Data.Entities.Status status) { return queryable.ByStatus(ComparisonOperator.Equals, status); }