forked from zzzprojects/System.Linq.Dynamic.Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleValuesModel.cs
More file actions
38 lines (27 loc) · 848 Bytes
/
SimpleValuesModel.cs
File metadata and controls
38 lines (27 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Linq.Dynamic.Core.CustomTypeProviders;
namespace System.Linq.Dynamic.Core.Tests.Helpers.Models
{
public enum SimpleValuesModelEnum
{
A,
B
}
[DynamicLinqType]
public enum SimpleValuesModelEnumAsDynamicLinqType
{
A,
B
}
public class SimpleValuesModel
{
public int IntValue { get; set; }
public float FloatValue { get; set; }
public decimal DecimalValue { get; set; }
public double DoubleValue { get; set; }
public int? NullableIntValue { get; set; }
public double? NullableDoubleValue { get; set; }
public SimpleValuesModelEnum EnumValue { get; set; }
public SimpleValuesModelEnumAsDynamicLinqType EnumValueDynamicLinqType { get; set; }
public DateTime DateTime { get; set; }
}
}