| 123456789101112131415161718192021222324 |
- 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 = null, Func<string>? cachefilename = null) : base(host, filter, cachefilename)
- {
- }
-
- // 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;
- }
- }
|