-
Notifications
You must be signed in to change notification settings - Fork 0
Add missing value types to EfAnalysisConstants #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,14 @@ public static class DataTypes | |
| public const string Long = "long"; | ||
| public const string Single = "Single"; | ||
| public const string Short = "short"; | ||
| public const string Byte = "byte"; | ||
| public const string SByte = "sbyte"; | ||
|
||
| public const string UShort = "ushort"; | ||
|
||
| public const string UInt = "uint"; | ||
| public const string UInt32 = "UInt32"; | ||
| public const string ULong = "ulong"; | ||
| public const string UInt64 = "UInt64"; | ||
| public const string Char = "char"; | ||
|
||
|
|
||
| /// <summary> | ||
| /// A set of common .NET value types that are treated as having a default value in EF. | ||
|
|
@@ -46,7 +54,15 @@ public static class DataTypes | |
| Double, | ||
| Float, | ||
| Single, | ||
| Short | ||
| Short, | ||
| Byte, | ||
| SByte, | ||
| UShort, | ||
| UInt, | ||
| UInt32, | ||
| ULong, | ||
| UInt64, | ||
| Char | ||
|
Comment on lines
+58
to
+65
|
||
| }; | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing .NET type name constant for
Byte. Following the existing pattern (e.g.,IntandInt32,BoolandBoolean), there should be a constant namedBytewith value"Byte"to represent the .NET BCL type name, in addition to the lowercasebytekeyword alias.