| 123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Linq;
- using System.Linq.Expressions;
- using Comal.Classes;
- using InABox.Core;
- using System.Diagnostics.CodeAnalysis;
- using InABox.Mobile;
- using Syncfusion.XForms.EffectsView;
- namespace PRS.Mobile
- {
- public class ProductModel : CoreRepository<ProductModel, ProductShell, Product>
- {
- public ProductModel(IModelHost host, Func<Filter<Product>> filter): base(host, filter)
- {
- }
-
- // when tested agains the Com-Al Database, this resulted in 300MB+ of
- // data and a 20+second lag in responsiveness, so its not gonna fly here.
- //protected override Expression<Func<Product, object>> ImageColumn => x => x.Image.ID;
-
- protected override Expression<Func<Product, object>> ImageColumn => x => x.Image.ID;
- }
-
- public class ProductLookupModel : CoreRepository<ProductLookupModel, ProductLookupShell, Product>
- {
- public ProductLookupModel(IModelHost host, Func<Filter<Product>> filter): base(host, filter)
- {
- }
-
-
- }
- }
|