You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQLite Scaffolding: Use column type and values to provide a better CLR type
Here's a table highlighting some of the improvements.
Column type | Sample value | Before | After
----------- | -------------------------------------- | ------ | -----
BOOLEAN | 0 | byte[] | bool
SMALLINT | 0 | long | short
INT | 0 | long | int
BIGINT | 0 | long | long
TEXT | '0.0' | string | decimal
TEXT | '1970-01-01' | string | DateOnly
TEXT | '1970-01-01 00:00:00' | string | DateTime
TEXT | '00:00:00' | string | TimeSpan
TEXT | '00000000-0000-0000-0000-000000000000' | string | Guid
STRING | 'ABC' | byte[] | string
Resolves#8824
Copy file name to clipboardExpand all lines: src/EFCore.Sqlite.Core/Properties/SqliteStrings.resx
+12
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,10 @@
143
143
<value>Skipping foreign key with identity '{id}' on table '{tableName}' since principal table '{principalTableName}' was not found in the model. This usually happens when the principal table was not included in the selection set.</value>
<value>The column '{columnName}' on table '{tableName}' should map to a property of type '{type}', but its values are in an incompatible format. Using a different type.</value>
<value>Found column on table '{tableName}' with name: '{columnName}', data type: {dataType}, not nullable: {notNullable}, default value: {defaultValue}.</value>
<value>The column '{columnName}' on table '{tableName}' should map to a property of type '{type}', but its values are out of range. Using a different type.</value>
<value>Skipping foreign key with identity '{id}' on table '{tableName}', since the principal column '{principalColumnName}' on the foreign key's principal table, '{principalTableName}', was not found in the model.</value>
0 commit comments