partial void Converting(SizingStandard entity) { var sizings = Sizings.OrderBy(c => c.DisplayOrder); foreach (var item in sizings) { entity.Sizings.Add(item.ToSizing()); } }
/// <summary> /// Default query for Sizings /// </summary> /// <returns></returns> public virtual IQueryable <Sizing> GetSizingQuery() { IQueryable <Sizing> query = Sizings.OrderBy(p => p.DisplayOrder); return(query); }