You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
608 B
23 lines
608 B
using System.Collections.Generic;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
public interface IConditionalModel {
|
|
|
|
}
|
|
public class ConditionalCollections : IConditionalModel
|
|
{
|
|
public List<KeyValuePair<WhereType, ConditionalModel>> ConditionalList { get; set; }
|
|
}
|
|
|
|
public class ConditionalModel: IConditionalModel
|
|
{
|
|
public ConditionalModel()
|
|
{
|
|
this.ConditionalType = ConditionalType.Equal;
|
|
}
|
|
public string FieldName { get; set; }
|
|
public string FieldValue { get; set; }
|
|
public ConditionalType ConditionalType { get; set; }
|
|
}
|
|
}
|