diff --git a/Directory.Build.props b/Directory.Build.props
index 0ee4bcf08..7552a70ce 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -9,7 +9,7 @@
- 3.2.650-preview20220521
+ 3.2.650-preview20220521-2
diff --git a/FreeSql.DbContext/FreeSql.DbContext.xml b/FreeSql.DbContext/FreeSql.DbContext.xml
index d34b34efe..4335acb5e 100644
--- a/FreeSql.DbContext/FreeSql.DbContext.xml
+++ b/FreeSql.DbContext/FreeSql.DbContext.xml
@@ -786,14 +786,5 @@
-
-
- 批量注入 Repository,可以参考代码自行调整
-
-
-
-
-
-
diff --git a/FreeSql.DbContext/Properties/DbContextStrings.resx b/FreeSql.DbContext/Properties/DbContextStrings.resx
index 6edc16044..5bec86217 100644
--- a/FreeSql.DbContext/Properties/DbContextStrings.resx
+++ b/FreeSql.DbContext/Properties/DbContextStrings.resx
@@ -117,129 +117,129 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- An error occurred in AddFreeDbContext, check that the construction parameters of {dbContextTypeName} have been injected correctly
+ FreeSql:An error occurred in AddFreeDbContext, check that the construction parameters of {dbContextTypeName} have been injected correctly
- Not addable, already exists in state management: {entityString}
+ FreeSql:Not addable, already exists in state management: {entityString}
- Not addable, entity has no primary key: {entityString}
+ FreeSql:Not addable, entity has no primary key: {entityString}
- Not addable, no value for primary key set: {entityString}
+ FreeSql:Not addable, no value for primary key set: {entityString}
- Not addable, self-increasing attribute has value: {entityString}
+ FreeSql:Not addable, self-increasing attribute has value: {entityString}
- Not attachable, entity has no primary key: {entityString}
+ FreeSql:Not attachable, entity has no primary key: {entityString}
- Not attachable, no value for primary key set: {entityString}
+ FreeSql:Not attachable, no value for primary key set: {entityString}
- Not deletable, data not tracked, should query first: {entityString}
+ FreeSql:Not deletable, data not tracked, should query first: {entityString}
- Not deletable, entity has no primary key: {entityString}
+ FreeSql:Not deletable, entity has no primary key: {entityString}
- Not deletable, no value for primary key set: {entityString}
+ FreeSql:Not deletable, no value for primary key set: {entityString}
- Not editable, entity has no primary key: {entityString}
+ FreeSql:Not editable, entity has no primary key: {entityString}
- Not updatable, data not tracked, should be queried first or Attach:{entityString}
+ FreeSql:Not updatable, data not tracked, should be queried first or Attach:{entityString}
- Not updatable, entity has no primary key: {entityString}
+ FreeSql:Not updatable, entity has no primary key: {entityString}
- Not updatable, no value for primary key set: {entityString}
+ FreeSql:Not updatable, no value for primary key set: {entityString}
- Not updatable, the record does not exist in the database: {entityString}
+ FreeSql:Not updatable, the record does not exist in the database: {entityString}
- Please configure UseFreeSql in OnConfiguring or AddFreeDbContext
+ FreeSql:Please configure UseFreeSql in OnConfiguring or AddFreeDbContext
- DbSet. AsType parameter error, please pass in the correct entity type
+ FreeSql:DbSet. AsType parameter error, please pass in the correct entity type
- Entity type {EntityTypeName} cannot be converted to {name} and cannot use this method
+ FreeSql:Entity type {EntityTypeName} cannot be converted to {name} and cannot use this method
- Entity type {EntityTypeName} Primary key type is not {fullName} and cannot be used with this method
+ FreeSql:Entity type {EntityTypeName} Primary key type is not {fullName} and cannot be used with this method
- Entity type {EntityTypeName} Primary key number is not 1 and cannot be used with this method
+ FreeSql:Entity type {EntityTypeName} Primary key number is not 1 and cannot be used with this method
- FreeSql. Repository failed to set filter because object does not belong to IRepository
+ FreeSql:FreeSql. Repository failed to set filter because object does not belong to IRepository
- Not comparable, entity has no primary key: {entityString}
+ FreeSql:Not comparable, entity has no primary key: {entityString}
- Non-comparable, no value for primary key set: {entityString}
+ FreeSql:Non-comparable, no value for primary key set: {entityString}
- FreeSql. Repository Insert failed because the filter {filterKey}: {filterValueExpression} was set and the inserted data does not conform to {entityString}
+ FreeSql:FreeSql. Repository Insert failed because the filter {filterKey}: {filterValueExpression} was set and the inserted data does not conform to {entityString}
- ISelect. AsType parameter does not support specifying as object
+ FreeSql:ISelect. AsType parameter does not support specifying as object
- Property {propertyName} does not exist for {tableTypeFullName}
+ FreeSql:Property {propertyName} does not exist for {tableTypeFullName}
- Method DbSet<> not found. StatesRemoveByObjects
+ FreeSql:Method DbSet<> not found. StatesRemoveByObjects
- Parameter data type error {entityTypeFullName}
+ FreeSql:Parameter data type error {entityTypeFullName}
- Parameter error {param}
+ FreeSql:Parameter error {param}
- Parameter error {param} cannot be null
+ FreeSql:Parameter error {param} cannot be null
- Parameter error {many} is not a collection property
+ FreeSql:Parameter error {many} is not a collection property
- Parameter error {many} Collection property does not exist
+ FreeSql:Parameter error {many} Collection property does not exist
- Parameter error {one} attribute does not exist
+ FreeSql:Parameter error {one} attribute does not exist
- Propagation_ Mandatory: With the current transaction, throw an exception if there is no current transaction
+ FreeSql:Propagation_ Mandatory: With the current transaction, throw an exception if there is no current transaction
- Propagation_ Never: Perform the operation non-transactionally and throw an exception if the current transaction exists
+ FreeSql:Propagation_ Never: Perform the operation non-transactionally and throw an exception if the current transaction exists
- Property {propertyName} of type {tableTypeFullName} is not OneToMany or ManyToMany attribute
+ FreeSql:Property {propertyName} of type {tableTypeFullName} is not OneToMany or ManyToMany attribute
- Special error: Bulk add failed, {dataType} returned data, does not match the number added
+ FreeSql:Special error: Bulk add failed, {dataType} returned data, does not match the number added
- Special error: Update failed, data not tracked: {entityString}
+ FreeSql:Special error: Update failed, data not tracked: {entityString}
- Transaction opened, unit of work cannot be disabled
+ FreeSql:Transaction opened, unit of work cannot be disabled
- The {tableTypeFullName} type has set the property {propertyName} Ignore the attribute
+ FreeSql:The {tableTypeFullName} type has set the property {propertyName} Ignore the attribute
- The {unitOfWorkManager} constructor parameter {fsql} cannot be null
+ FreeSql:The {unitOfWorkManager} constructor parameter {fsql} cannot be null
- FreeSql. Repository Update failed because the filter {filterKey}: {filterValueExpression} is set and the updated data does not conform to {entityString}
+ FreeSql:FreeSql. Repository Update failed because the filter {filterKey}: {filterValueExpression} is set and the updated data does not conform to {entityString}
diff --git a/FreeSql.Tests/FreeSql.Tests/Properties/DbContextStringsTests.cs b/FreeSql.Tests/FreeSql.Tests/Properties/DbContextStringsTests.cs
index 64f2a9256..cfff05e78 100644
--- a/FreeSql.Tests/FreeSql.Tests/Properties/DbContextStringsTests.cs
+++ b/FreeSql.Tests/FreeSql.Tests/Properties/DbContextStringsTests.cs
@@ -21,8 +21,8 @@ namespace FreeSql.Tests.Properties
//Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
//Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
- DbContextStrings.Culture= new System.Globalization.CultureInfo("zh-Hans");
- //DbContextStrings.Culture = new System.Globalization.CultureInfo("en-US");
+ //DbContextStrings.Culture= new System.Globalization.CultureInfo("zh-Hans");
+ DbContextStrings.Culture = new System.Globalization.CultureInfo("en-US");
}
[Fact]
diff --git a/FreeSql.sln b/FreeSql.sln
index 782022787..97c44a0ee 100644
--- a/FreeSql.sln
+++ b/FreeSql.sln
@@ -688,7 +688,7 @@ Global
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_NeutralResourcesLanguage = en-US
- RESX_PrefixTranslations = False
+ RESX_PrefixTranslations = True
SolutionGuid = {089687FD-5D25-40AB-BA8A-A10D1E137F98}
EndGlobalSection
EndGlobal
diff --git a/FreeSql/Properties/CoreStrings.resx b/FreeSql/Properties/CoreStrings.resx
index acec179a6..cc8292fcd 100644
--- a/FreeSql/Properties/CoreStrings.resx
+++ b/FreeSql/Properties/CoreStrings.resx
@@ -117,381 +117,381 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- [Table(AsTable="{asTable}")] Property value formatted incorrectly
+ FreeSql:[Table(AsTable="{asTable}")] Property value formatted incorrectly
- The property name {atmGroupsValue} set by [Table (AsTable = xx)] is not of type DateTime
+ FreeSql:The property name {atmGroupsValue} set by [Table (AsTable = xx)] is not of type DateTime
- {name}: Failed to get resource {statistics}
+ FreeSql:{name}: Failed to get resource {statistics}
- {name}: An exception needs to be thrown
+ FreeSql:{name}: An exception needs to be thrown
- Wrong expression format {column}
+ FreeSql:Wrong expression format {column}
- Select is not available until the Chunk function
+ FreeSql:Select is not available until the Chunk function
- For security reasons, be sure to use ForUpdate after the transaction is open
+ FreeSql:For security reasons, be sure to use ForUpdate after the transaction is open
- Cannot be null
+ FreeSql:Cannot be null
- {name} cannot be null
+ FreeSql:{name} cannot be null
- Unable to match {property}
+ FreeSql:Unable to match {property}
- {property} cannot be resolved to an expression tree
+ FreeSql:{property} cannot be resolved to an expression tree
- The parameter master ConnectionString cannot be empty, check UseConnectionString
+ FreeSql:The parameter master ConnectionString cannot be empty, check UseConnectionString
- Commit
+ FreeSql:Commit
- Connection failed, ready to switch other available servers
+ FreeSql:Connection failed, ready to switch other available servers
- Custom expression parsing error: type {exp3MethodDeclaringType} needs to define static ThreadLocal<ExpressionCallContext>field, field, field (important three reminders)
+ FreeSql:Custom expression parsing error: type {exp3MethodDeclaringType} needs to define static ThreadLocal<ExpressionCallContext>field, field, field (important three reminders)
- Custom {Reflection Information} cannot be empty, format: {static method name}{space}{reflection information}
+ FreeSql:Custom {Reflection Information} cannot be empty, format: {static method name}{space}{reflection information}
- Custom {static method name} cannot be empty, format: {static method name}{space}{reflection information}
+ FreeSql:Custom {static method name} cannot be empty, format: {static method name}{space}{reflection information}
- Custom corresponding {{static method name}}:{fiValueCustomArray} The [DynamicFilterCustomAttribute] attribute is not set
+ FreeSql:Custom corresponding {{static method name}}:{fiValueCustomArray} The [DynamicFilterCustomAttribute] attribute is not set
- Custom requires that Fields be space-split and 2-length in the format: {static method name}{space}{reflection information}
+ FreeSql:Custom requires that Fields be space-split and 2-length in the format: {static method name}{space}{reflection information}
- The data type of the operation ({dataDisplayCsharp}) is inconsistent with AsType ({tableTypeDisplayCsharp}). Please check.
+ FreeSql:The data type of the operation ({dataDisplayCsharp}) is inconsistent with AsType ({tableTypeDisplayCsharp}). Please check.
- DateRange requires that Value be comma-separated and 2-length
+ FreeSql:DateRange requires that Value be comma-separated and 2-length
- DateRange requires that the Value [1] format must be: yyyy, yyyy-MM, yyyy-MM-dd, yyyyy-MM-dd HH, yyyy, yyyy-MM-dd HH:mm
+ FreeSql:DateRange requires that the Value [1] format must be: yyyy, yyyy-MM, yyyy-MM-dd, yyyyy-MM-dd HH, yyyy, yyyy-MM-dd HH:mm
- The record may not exist, or the row level optimistic lock version is out of date, the number of updates {sourceCount}, the number of rows affected {affrows}.
+ FreeSql:The record may not exist, or the row level optimistic lock version is out of date, the number of updates {sourceCount}, the number of rows affected {affrows}.
- The number of SlaveConnectionStrings is not the same as SlaveWeights
+ FreeSql:The number of SlaveConnectionStrings is not the same as SlaveWeights
- ColumnAttribute. Name {colattrName} exists repeatedly, please check (note: case insensitive)
+ FreeSql:ColumnAttribute. Name {colattrName} exists repeatedly, please check (note: case insensitive)
- Property name {pName} exists repeatedly, please check (note: case insensitive)
+ FreeSql:Property name {pName} exists repeatedly, please check (note: case insensitive)
- The {function} feature requires that the entity class {tableCsName} must have a primary key
+ FreeSql:The {function} feature requires that the entity class {tableCsName} must have a primary key
- {tbTypeFullName} is a parent-child relationship, but combinations of multiple primary keys are not supported in versions below MySql 8.0
+ FreeSql:{tbTypeFullName} is a parent-child relationship, but combinations of multiple primary keys are not supported in versions below MySql 8.0
- {tbTypeFullName} is not a parent-child relationship and cannot be used
+ FreeSql:{tbTypeFullName} is not a parent-child relationship and cannot be used
- This particular subquery cannot be resolved
+ FreeSql:This particular subquery cannot be resolved
- Expression error, its top object is not ParameterExpression:{exp}
+ FreeSql:Expression error, its top object is not ParameterExpression:{exp}
- Expression error, it is not a continuous MemberAccess type: {exp}
+ FreeSql:Expression error, it is not a continuous MemberAccess type: {exp}
- ExpressionTree conversion type error, value ({value}), type ({valueTypeFullName}), target type ({typeFullName}), Error:{exMessage}
+ FreeSql:ExpressionTree conversion type error, value ({value}), type ({valueTypeFullName}), target type ({typeFullName}), Error:{exMessage}
- Failed to parse table field value {sqlWhere}
+ FreeSql:Failed to parse table field value {sqlWhere}
- Function {asTable} not implemented by AsTable
+ FreeSql:Function {asTable} not implemented by AsTable
- GBase does not support separators other than commas at this time
+ FreeSql:GBase does not support separators other than commas at this time
- TableName:{tableName} generated the same table name
+ FreeSql:TableName:{tableName} generated the same table name
- The parameter'{primary}'passed by GetPrimarys is incorrect and does not belong to the key name of the dictionary data
+ FreeSql:The parameter'{primary}'passed by GetPrimarys is incorrect and does not belong to the key name of the dictionary data
- {first} has already been specified and {second} can no longer be specified
+ FreeSql:{first} has already been specified and {second} can no longer be specified
- {tb2DbName}. {mp2MemberName} is ignored. Check the IsIgnore setting to make sure get/set is public
+ FreeSql:{tb2DbName}. {mp2MemberName} is ignored. Check the IsIgnore setting to make sure get/set is public
- Include parameter type error
+ FreeSql:Include parameter type error
- Include parameter type is wrong, use IncludeMany for collection properties
+ FreeSql:Include parameter type is wrong, use IncludeMany for collection properties
- Include parameter type is wrong, expression type should be MemberAccess
+ FreeSql:Include parameter type is wrong, expression type should be MemberAccess
- The property {collMemMemberName} of IncludeMany type {tbTypeDisplayCsharp} is not a valid navigation property, hint: IsIgnore = true will not be a navigation property
+ FreeSql:The property {collMemMemberName} of IncludeMany type {tbTypeDisplayCsharp} is not a valid navigation property, hint: IsIgnore = true will not be a navigation property
- IncludeMany {navigateSelector} parameter is wrong, Select can only use one parameter's method, the correct format:.Select(t =>new TNavigate{{}})
+ FreeSql:IncludeMany {navigateSelector} parameter is wrong, Select can only use one parameter's method, the correct format:.Select(t =>new TNavigate{{}})
- IncludeMany {navigateSelector} parameter error, Select lambda parameter return value must match {collMemElementType} type
+ FreeSql:IncludeMany {navigateSelector} parameter error, Select lambda parameter return value must match {collMemElementType} type
- IncludeMany parameter 1 has wrong type, expression type should be MemberAccess
+ FreeSql:IncludeMany parameter 1 has wrong type, expression type should be MemberAccess
- IncludeMany {navigateSelector} parameter type is wrong, correct format: a.collections.Take(1).Where(c => C.A ID == a.id).Select (a => new TNavigate{{}})
+ FreeSql:IncludeMany {navigateSelector} parameter type is wrong, correct format: a.collections.Take(1).Where(c => C.A ID == a.id).Select (a => new TNavigate{{}})
- ISelect. InsertInto() did not select an attribute: {displayCsharp}
+ FreeSql:ISelect. InsertInto() did not select an attribute: {displayCsharp}
- ISelect. InsertInto() type error: {displayCsharp}
+ FreeSql:ISelect. InsertInto() type error: {displayCsharp}
- The InsertOrUpdate function performs merge into requiring the entity class {CsName} to have a primary key
+ FreeSql:The InsertOrUpdate function performs merge into requiring the entity class {CsName} to have a primary key
- The generic parameter for InsertOrUpdate<>does not support {typeofT1}. Pass in your entity class
+ FreeSql:The generic parameter for InsertOrUpdate<>does not support {typeofT1}. Pass in your entity class
- FreeSql needs to be installed for Delayed Loading. Extensions. LazyLoading. Dll, downloadable to nuget
+ FreeSql:FreeSql needs to be installed for Delayed Loading. Extensions. LazyLoading. Dll, downloadable to nuget
- {trytbTypeName} Compilation error: {exMessage}\r\n\r\n{cscode}
+ FreeSql:{trytbTypeName} Compilation error: {exMessage}\r\n\r\n{cscode}
- Entity type {trytbTypeName} must be declared public
+ FreeSql:Entity type {trytbTypeName} must be declared public
- ManyToMany navigation properties. AsSelect() is temporarily unavailable for the Sum/Avg/Max/Min/First/ToOne/ToList method
+ FreeSql:ManyToMany navigation properties. AsSelect() is temporarily unavailable for the Sum/Avg/Max/Min/First/ToOne/ToList method
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} did not find a corresponding field in {tbmidCsName}, such as: {midTypePropsTrytbName}{findtrytbPkCsName}, {midTypePropsTrytbName}_ {findtrytbPkCsName}
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} did not find a corresponding field in {tbmidCsName}, such as: {midTypePropsTrytbName}{findtrytbPkCsName}, {midTypePropsTrytbName}_ {findtrytbPkCsName}
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} missing primary key identity, [Column (IsPrimary = true)]
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} missing primary key identity, [Column (IsPrimary = true)]
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} must have a corresponding [Navigate (ManyToMany = x)] collection property
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} must have a corresponding [Navigate (ManyToMany = x)] collection property
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, {tbmidCsName}. {trycolCsName} and {trytbCsName}. {trytbPrimarysCsName} type inconsistent
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, {tbmidCsName}. {trycolCsName} and {trytbCsName}. {trytbPrimarysCsName} type inconsistent
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}.{midTypePropsTrytbName} Error: {exMessage}
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}.{midTypePropsTrytbName} Error: {exMessage}
- [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}. The {midTypePropsTrytbName} navigation property is not ManyToOne or OneToOne
+ FreeSql:[ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}. The {midTypePropsTrytbName} navigation property is not ManyToOne or OneToOne
- Mapping exception: {name} None of the property names are the same
+ FreeSql:Mapping exception: {name} None of the property names are the same
- Ado. MasterPool value is null, this operation cannot self-enable transactions, please explicitly pass [transaction object] resolution
+ FreeSql:Ado. MasterPool value is null, this operation cannot self-enable transactions, please explicitly pass [transaction object] resolution
- Missing FreeSql database implementation package: FreeSql. Provider. {Provider}. Dll, downloadable to nuget
+ FreeSql:Missing FreeSql database implementation package: FreeSql. Provider. {Provider}. Dll, downloadable to nuget
- The FreeSql database implementation package is missing: {dll} can be downloaded to nuget; If there is {dll} and an error still occurs (due to environmental issues that cause the type to be unreflected), manually pass in typeof ({providerType}) in the third parameter of UseConnectionString/UseConnectionFactory
+ FreeSql:The FreeSql database implementation package is missing: {dll} can be downloaded to nuget; If there is {dll} and an error still occurs (due to environmental issues that cause the type to be unreflected), manually pass in typeof ({providerType}) in the third parameter of UseConnectionString/UseConnectionFactory
- Navigation property {trytbTypeName}. The number of {pnvName} attributes [Navigate] Binds ({bindColumnsCount}) is different from the number of external primary keys ({tbrefPrimarysLength})
+ FreeSql:Navigation property {trytbTypeName}. The number of {pnvName} attributes [Navigate] Binds ({bindColumnsCount}) is different from the number of external primary keys ({tbrefPrimarysLength})
- {tb2DbName}. {mp2MemberName} Navigation Property Collection forgotten. AsSelect()? If used in ToList (a => a. {mp2MemberName}), step by step to refer to the IncludeMany document.
+ FreeSql:{tb2DbName}. {mp2MemberName} Navigation Property Collection forgotten. AsSelect()? If used in ToList (a => a. {mp2MemberName}), step by step to refer to the IncludeMany document.
- [Navigation Properties]{trytbTypeDisplayCsharp}. Missing set attribute for {pName}
+ FreeSql:[Navigation Properties]{trytbTypeDisplayCsharp}. Missing set attribute for {pName}
- Navigation property {trytbTypeName}. {pnvName} No corresponding fields were found, such as: {pnvName}{findtbrefPkCsName}, {pnvName}_ {findtbrefPkCsName}. Or use the [Navigate] attribute to specify the relationship mapping.
+ FreeSql:Navigation property {trytbTypeName}. {pnvName} No corresponding fields were found, such as: {pnvName}{findtbrefPkCsName}, {pnvName}_ {findtbrefPkCsName}. Or use the [Navigate] attribute to specify the relationship mapping.
- Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {trytcTypeName} missing primary key identity, [Column (IsPrimary = true)]
+ FreeSql:Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {trytcTypeName} missing primary key identity, [Column (IsPrimary = true)]
- Navigation property {trytbTypeName}. {pnvName} parsing error, {trytbCsName}. {trycolCsName} and {tbrefCsName}. {tbrefPrimarysCsName} type inconsistent
+ FreeSql:Navigation property {trytbTypeName}. {pnvName} parsing error, {trytbCsName}. {trycolCsName} and {tbrefCsName}. {tbrefPrimarysCsName} type inconsistent
- Navigation property {trytbTypeName}. {pnvName} attribute [Navigate] parsing error, property not found at {tbrefTypeName}: {bi}
+ FreeSql:Navigation property {trytbTypeName}. {pnvName} attribute [Navigate] parsing error, property not found at {tbrefTypeName}: {bi}
- {tableTypeDisplayCsharp} has no primary key defined and cannot use SetSource. Try SetDto
+ FreeSql:{tableTypeDisplayCsharp} has no primary key defined and cannot use SetSource. Try SetDto
- No properties defined
+ FreeSql:No properties defined
- Not implemented
+ FreeSql:Not implemented
- Function expression {exp} parsing not implemented
+ FreeSql:Function expression {exp} parsing not implemented
- Function expression {exp} parsing not implemented, parameter {expArguments} must be constant
+ FreeSql:Function expression {exp} parsing not implemented, parameter {expArguments} must be constant
- Function expression {exp} parsing is not implemented. Use if you are working on a navigation property collection. AsSelect (). {exp3MethodName} ({exp3ArgumentsCount})
+ FreeSql:Function expression {exp} parsing is not implemented. Use if you are working on a navigation property collection. AsSelect (). {exp3MethodName} ({exp3ArgumentsCount})
- Constant under MemberAccess is not implemented
+ FreeSql:Constant under MemberAccess is not implemented
- {name} is not implemented
+ FreeSql:{name} is not implemented
- I won't support it
+ FreeSql:I won't support it
- {dataType} does not support OrderByRandom sorting
+ FreeSql:{dataType} does not support OrderByRandom sorting
- {property} is not a valid navigation property
+ FreeSql:{property} is not a valid navigation property
- {dbName} Column {memberName} not found
+ FreeSql:{dbName} Column {memberName} not found
- Cannot find the column corresponding to {CsName}
+ FreeSql:Cannot find the column corresponding to {CsName}
- Attribute not found: {memberName}
+ FreeSql:Attribute not found: {memberName}
- Property name {proto} not found
+ FreeSql:Property name {proto} not found
- Custom could not find the corresponding {{reflection information}}:{fiValueCustomArray}
+ FreeSql:Custom could not find the corresponding {{reflection information}}:{fiValueCustomArray}
- Custom could not find the corresponding {{static method name}}:{fiValueCustomArray}
+ FreeSql:Custom could not find the corresponding {{static method name}}:{fiValueCustomArray}
- The property name {atmGroupsValue} set by [Table(AsTable = xx)] does not exist
+ FreeSql:The property name {atmGroupsValue} set by [Table(AsTable = xx)] does not exist
- No UseConnectionString or UseConnectionFactory specified
+ FreeSql:No UseConnectionString or UseConnectionFactory specified
- [{policyName}] ObjectPool. {GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081
+ FreeSql:[{policyName}] ObjectPool. {GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081
- [{policyName}] ObjectPool. GetAsync() The queue is too long. Policy. AsyncGetCapacity = {asyncGetCapacity}
+ FreeSql:[{policyName}] ObjectPool. GetAsync() The queue is too long. Policy. AsyncGetCapacity = {asyncGetCapacity}
- [OneToMany] Navigation property {trytbTypeName}.{pnvName} did not find a corresponding field in {tbrefCsName}, such as: {findtrytb}{findtrytbPkCsName}, {findtrytb}_{findtrytbPkCsName}
+ FreeSql:[OneToMany] Navigation property {trytbTypeName}.{pnvName} did not find a corresponding field in {tbrefCsName}, such as: {findtrytb}{findtrytbPkCsName}, {findtrytb}_{findtrytbPkCsName}
- [OneToMany] Navigation property {trytbTypeName}.{pnvName} parsing error, {trytbCsName}.{trytbPrimarysCsName} and {tbrefCsName}.{trycolCsName} is of inconsistent type
+ FreeSql:[OneToMany] Navigation property {trytbTypeName}.{pnvName} parsing error, {trytbCsName}.{trytbPrimarysCsName} and {tbrefCsName}.{trycolCsName} is of inconsistent type
- , {refpropName}{findtrytbPkCsName}, {refpropName}_{findtrytbPkCsName}. Or use the [Navigate] attribute to specify the relationship mapping.
+ FreeSql:, {refpropName}{findtrytbPkCsName}, {refpropName}_{findtrytbPkCsName}. Or use the [Navigate] attribute to specify the relationship mapping.
- Parameter field not specified
+ FreeSql:Parameter field not specified
- The {property} parameter is incorrect, it is not a collection property and must be IList<T>or ICollection<T>
+ FreeSql:The {property} parameter is incorrect, it is not a collection property and must be IList<T>or ICollection<T>
- The {property} parameter is incorrect, it is not a valid navigation property
+ FreeSql:The {property} parameter is incorrect, it is not a valid navigation property
- {where} parameter error, {keyval} is not a valid property name and cannot be found in entity class {reftbTypeDisplayCsharp}
+ FreeSql:{where} parameter error, {keyval} is not a valid property name and cannot be found in entity class {reftbTypeDisplayCsharp}
- {property} parameter error, format "TopicId=Id, multiple groups using comma connection"
+ FreeSql:{property} parameter error, format "TopicId=Id, multiple groups using comma connection"
- Parsing failed {callExpMethodName} {message}
+ FreeSql:Parsing failed {callExpMethodName} {message}
- [{policyName}] The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079
+ FreeSql:[{policyName}] The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079
- The {policyName} status is unavailable and cannot be used until the background checker is restored. {UnavailableExceptionMessage}
+ FreeSql:The {policyName} status is unavailable and cannot be used until the background checker is restored. {UnavailableExceptionMessage}
- The property {trytbVersionColumnCsName} is labeled as a row lock (optimistic lock) (IsVersion), but it must be a numeric type or byte[], and it cannot be Nullable
+ FreeSql:The property {trytbVersionColumnCsName} is labeled as a row lock (optimistic lock) (IsVersion), but it must be a numeric type or byte[], and it cannot be Nullable
- Properrties parameter cannot be empty
+ FreeSql:Properrties parameter cannot be empty
- {property} property name not found
+ FreeSql:{property} property name not found
- Range requires that Value be comma-separated and 2-length
+ FreeSql:Range requires that Value be comma-separated and 2-length
- RollBack
+ FreeSql:RollBack
- Runtime error, reflection failed to get IncludeMany method
+ FreeSql:Runtime error, reflection failed to get IncludeMany method
- {qoteSql} is NULL unless the attribute [Column (IsNullable = false)]
+ FreeSql:{qoteSql} is NULL unless the attribute [Column (IsNullable = false)]
- Subtable field value'{dt}'cannot be less than'{beginTime}'
+ FreeSql:Subtable field value'{dt}'cannot be less than'{beginTime}'
- Subtable field value cannot be null
+ FreeSql:Subtable field value cannot be null
- The tabular field value'{columnValue}'cannot be converted to DateTime
+ FreeSql:The tabular field value'{columnValue}'cannot be converted to DateTime
- Table field value'{dt}'does not match table name
+ FreeSql:Table field value'{dt}'does not match table name
- Type T2 Error
+ FreeSql:Type T2 Error
- TableName format error, example: "log_{yyyyMMdd}"
+ FreeSql:TableName format error, example: "log_{yyyyMMdd}"
- {Type}. AsType parameter error, please pass in the correct entity type
+ FreeSql:{Type}. AsType parameter error, please pass in the correct entity type
- The {thatFullName} type cannot access the constructor
+ FreeSql:The {thatFullName} type cannot access the constructor
- {name} type error
+ FreeSql:{name} type error
- {Type}. AsType parameter does not support specifying as object
+ FreeSql:{Type}. AsType parameter does not support specifying as object
- Type {typeofFullName} error, IncludeMany cannot be used
+ FreeSql:Type {typeofFullName} error, IncludeMany cannot be used
- Unable to parse expression: {exp}
+ FreeSql:Unable to parse expression: {exp}
- Unable to parse expression method {exp3tmpCallMethodName}
+ FreeSql:Unable to parse expression method {exp3tmpCallMethodName}
- Please use fsql. InsertDict (dict) method inserts dictionary data
+ FreeSql:Please use fsql. InsertDict (dict) method inserts dictionary data
diff --git a/FreeSql/Properties/CoreStrings.zh-Hans.resx b/FreeSql/Properties/CoreStrings.zh-Hans.resx
index d7036cb33..6e8b357f0 100644
--- a/FreeSql/Properties/CoreStrings.zh-Hans.resx
+++ b/FreeSql/Properties/CoreStrings.zh-Hans.resx
@@ -495,4 +495,7 @@
请使用 fsql.InsertDict(dict) 方法插入字典数据
+
+ Test
+
\ No newline at end of file