Class SearchEntityModel<TEntity, TPrimaryKey>
Inheritance
System.Object
SearchEntityModel<TEntity, TPrimaryKey>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: mix.library.dll
Syntax
public class SearchEntityModel<TEntity, TPrimaryKey>
where TEntity : IEntity<TPrimaryKey> where TPrimaryKey : IComparable
Type Parameters
Name |
Description |
TEntity |
|
TPrimaryKey |
|
Constructors
|
Improve this Doc
View Source
SearchEntityModel()
Declaration
public SearchEntityModel()
|
Improve this Doc
View Source
SearchEntityModel(HttpRequest, Expression<Func<TEntity, Boolean>>, Expression<Func<TEntity, Boolean>>)
Declaration
public SearchEntityModel(HttpRequest request, Expression<Func<TEntity, bool>> andPredicate = null, Expression<Func<TEntity, bool>> orPredicate = null)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.HttpRequest |
request |
|
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
andPredicate |
|
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
orPredicate |
|
|
Improve this Doc
View Source
SearchEntityModel(SearchRequestDto, Expression<Func<TEntity, Boolean>>, Expression<Func<TEntity, Boolean>>)
Declaration
public SearchEntityModel(SearchRequestDto request, Expression<Func<TEntity, bool>> andPredicate = null, Expression<Func<TEntity, bool>> orPredicate = null)
Parameters
Type |
Name |
Description |
SearchRequestDto |
request |
|
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
andPredicate |
|
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
orPredicate |
|
Properties
|
Improve this Doc
View Source
AndPredicate
Declaration
protected Expression<Func<TEntity, bool>> AndPredicate { get; set; }
Property Value
Type |
Description |
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
|
|
Improve this Doc
View Source
FromDate
Declaration
public DateTime? FromDate { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
Keyword
Declaration
public string Keyword { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OrPredicate
Declaration
protected Expression<Func<TEntity, bool>> OrPredicate { get; set; }
Property Value
Type |
Description |
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
|
|
Improve this Doc
View Source
PagingData
Declaration
public PagingRequestModel PagingData { get; set; }
Property Value
|
Improve this Doc
View Source
Predicate
Declaration
public Expression<Func<TEntity, bool>> Predicate { get; set; }
Property Value
Type |
Description |
System.Linq.Expressions.Expression<Func<TEntity, System.Boolean>> |
|
|
Improve this Doc
View Source
Specificulture
Declaration
public string Specificulture { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Status
Declaration
public MixContentStatus? Status { get; set; }
Property Value
Type |
Description |
System.Nullable<MixContentStatus> |
|
|
Improve this Doc
View Source
ToDate
Declaration
public DateTime? ToDate { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|