We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var xml1 = `<xml id="xml1"> <data name="AsTable_PropertyName_FormatError" xml:space="preserve"> <value>FreeSql: [Table(AsTable="{asTable}")] Property value formatted incorrectly</value> </data> <data name="AsTable_PropertyName_NotDateTime" xml:space="preserve"> <value>FreeSql: The property name {atmGroupsValue} set by [Table (AsTable = xx)] is not of type DateTime</value> </data> <data name="Available_Failed_Get_Resource" xml:space="preserve"> <value>FreeSql: {name}: Failed to get resource {statistics}</value> </data> <data name="Available_Thrown_Exception" xml:space="preserve"> <value>FreeSql: {name}: An exception needs to be thrown</value> </data> <data name="Bad_Expression_Format" xml:space="preserve"> <value>FreeSql: Wrong expression format {column}</value> </data> <data name="Before_Chunk_Cannot_Use_Select" xml:space="preserve"> <value>FreeSql: Select is not available until the Chunk function</value> </data> <data name="Begin_Transaction_Then_ForUpdate" xml:space="preserve"> <value>FreeSql: For security reasons, be sure to use ForUpdate after the transaction is open</value> </data> <data name="Cannot_Be_NULL" xml:space="preserve"> <value>FreeSql: Cannot be null</value> </data> <data name="Cannot_Be_NULL_Name" xml:space="preserve"> <value>FreeSql: {name} cannot be null</value> </data> <data name="Cannot_Match_Property" xml:space="preserve"> <value>FreeSql: Unable to match {property}</value> </data> <data name="Cannot_Resolve_ExpressionTree" xml:space="preserve"> <value>FreeSql: {property} cannot be resolved to an expression tree</value> </data> <data name="Check_UseConnectionString" xml:space="preserve"> <value>FreeSql: The parameter master ConnectionString cannot be empty, check UseConnectionString</value> </data> <data name="Commit" xml:space="preserve"> <value>FreeSql: Commit</value> </data> <data name="Connection_Failed_Switch_Servers" xml:space="preserve"> <value>FreeSql: Connection failed, ready to switch other available servers</value> </data> <data name="Custom_Expression_ParsingError" xml:space="preserve"> <value>FreeSql: Custom expression parsing error: type {exp3MethodDeclaringType} needs to define static ThreadLocal<ExpressionCallContext>field, field, field (important three reminders)</value> </data> <data name="Custom_Reflection_IsNotNull" xml:space="preserve"> <value>FreeSql: Custom {Reflection Information} cannot be empty, format: {static method name}{space}{reflection information}</value> </data> <data name="Custom_StaticMethodName_IsNotNull" xml:space="preserve"> <value>FreeSql: Custom {static method name} cannot be empty, format: {static method name}{space}{reflection information}</value> </data> <data name="Custom_StaticMethodName_NotSet_DynamicFilterCustom" xml:space="preserve"> <value>FreeSql: Custom corresponding {{static method name}}:{fiValueCustomArray} The [DynamicFilterCustomAttribute] attribute is not set</value> </data> <data name="CustomFieldSeparatedBySpaces" xml:space="preserve"> <value>FreeSql: Custom requires that Fields be space-split and 2-length in the format: {static method name}{space}{reflection information}</value> </data> <data name="DataType_AsType_Inconsistent" xml:space="preserve"> <value>FreeSql: The data type of the operation ({dataDisplayCsharp}) is inconsistent with AsType ({tableTypeDisplayCsharp}). Please check.</value> </data> <data name="DateRange_Comma_Separateda_By2Char" xml:space="preserve"> <value>FreeSql: DateRange requires that Value be comma-separated and 2-length</value> </data> <data name="DateRange_DateFormat_yyyy" xml:space="preserve"> <value>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</value> </data> <data name="DbUpdateVersionException_RowLevelOptimisticLock" xml:space="preserve"> <value>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}.</value> </data> <data name="Different_Number_SlaveConnectionString_SlaveWeights" xml:space="preserve"> <value>FreeSql: The number of SlaveConnectionStrings is not the same as SlaveWeights</value> </data> <data name="Duplicate_ColumnAttribute" xml:space="preserve"> <value>FreeSql: ColumnAttribute. Name {colattrName} exists repeatedly, please check (note: case insensitive)</value> </data> <data name="Duplicate_PropertyName" xml:space="preserve"> <value>FreeSql: Property name {pName} exists repeatedly, please check (note: case insensitive)</value> </data> <data name="Entity_Must_Primary_Key" xml:space="preserve"> <value>FreeSql: The {function} feature requires that the entity class {tableCsName} must have a primary key</value> </data> <data name="Entity_MySQL_VersionsBelow8_NotSupport_Multiple_PrimaryKeys" xml:space="preserve"> <value>FreeSql: {tbTypeFullName} is a parent-child relationship, but combinations of multiple primary keys are not supported in versions below MySql 8.0</value> </data> <data name="Entity_NotParentChild_Relationship" xml:space="preserve"> <value>FreeSql: {tbTypeFullName} is not a parent-child relationship and cannot be used</value> </data> <data name="EspeciallySubquery_Cannot_Parsing" xml:space="preserve"> <value>FreeSql: This particular subquery cannot be resolved</value> </data> <data name="Expression_Error_Use_ParameterExpression" xml:space="preserve"> <value>FreeSql: Expression error, its top object is not ParameterExpression:{exp}</value> </data> <data name="Expression_Error_Use_Successive_MemberAccess_Type" xml:space="preserve"> <value>FreeSql: Expression error, it is not a continuous MemberAccess type: {exp}</value> </data> <data name="ExpressionTree_Convert_Type_Error" xml:space="preserve"> <value>FreeSql: ExpressionTree conversion type error, value ({value}), type ({valueTypeFullName}), target type ({typeFullName}), Error:{exMessage}</value> </data> <data name="Failed_SubTable_FieldValue" xml:space="preserve"> <value>FreeSql: Failed to parse table field value {sqlWhere}</value> </data> <data name="Functions_AsTable_NotImplemented" xml:space="preserve"> <value>FreeSql: Function {asTable} not implemented by AsTable</value> </data> <data name="GBase_NotSupport_OtherThanCommas" xml:space="preserve"> <value>FreeSql: GBase does not support separators other than commas at this time</value> </data> <data name="Generated_Same_SubTable" xml:space="preserve"> <value>FreeSql: TableName:{tableName} generated the same table name</value> </data> <data name="GetPrimarys_ParameterError_IsNotDictKey " xml:space="preserve"> <value>FreeSql: The parameter'{primary}'passed by GetPrimarys is incorrect and does not belong to the key name of the dictionary data</value> </data> <data name="Has_Specified_Cannot_Specified_Second" xml:space="preserve"> <value>FreeSql: {first} has already been specified and {second} can no longer be specified</value> </data> <data name="Ignored_Check_Confirm_PublicGetSet" xml:space="preserve"> <value>FreeSql: {tb2DbName}. {mp2MemberName} is ignored. Check the IsIgnore setting to make sure get/set is public</value> </data> <data name="Include_ParameterType_Error" xml:space="preserve"> <value>FreeSql: Include parameter type error</value> </data> <data name="Include_ParameterType_Error_Use_IncludeMany" xml:space="preserve"> <value>FreeSql: Include parameter type is wrong, use IncludeMany for collection properties</value> </data> <data name="Include_ParameterType_Error_Use_MemberAccess" xml:space="preserve"> <value>FreeSql: Include parameter type is wrong, expression type should be MemberAccess</value> </data> <data name="IncludeMany_NotValid_Navigation" xml:space="preserve"> <value>FreeSql: The property {collMemMemberName} of IncludeMany type {tbTypeDisplayCsharp} is not a valid navigation property, hint: IsIgnore = true will not be a navigation property</value> </data> <data name="IncludeMany_ParameterError_OnlyUseOneParameter" xml:space="preserve"> <value>FreeSql: IncludeMany {navigateSelector} parameter is wrong, Select can only use one parameter's method, the correct format:.Select(t =>new TNavigate{{}})</value> </data> <data name="IncludeMany_ParameterError_Select_ReturnConsistentType" xml:space="preserve"> <value>FreeSql: IncludeMany {navigateSelector} parameter error, Select lambda parameter return value must match {collMemElementType} type</value> </data> <data name="IncludeMany_ParameterType_Error_Use_MemberAccess" xml:space="preserve"> <value>FreeSql: IncludeMany parameter 1 has wrong type, expression type should be MemberAccess</value> </data> <data name="IncludeMany_ParameterTypeError" xml:space="preserve"> <value>FreeSql: IncludeMany {navigateSelector} parameter type is wrong, correct format: a.collections.Take(1).Where(c => C.A ID == a.id).Select (a => new TNavigate{{}})</value> </data> <data name="InsertInto_No_Property_Selected" xml:space="preserve"> <value>FreeSql: ISelect. InsertInto() did not select an attribute: {displayCsharp}</value> </data> <data name="InsertInto_TypeError" xml:space="preserve"> <value>FreeSql: ISelect. InsertInto() type error: {displayCsharp}</value> </data> <data name="InsertOrUpdate_Must_Primary_Key" xml:space="preserve"> <value>FreeSql: The InsertOrUpdate function performs merge into requiring the entity class {CsName} to have a primary key</value> </data> <data name="InsertOrUpdate_NotSuport_Generic_UseEntity" xml:space="preserve"> <value>FreeSql: The generic parameter for InsertOrUpdate<>does not support {typeofT1}. Pass in your entity class</value> </data> <data name="Install_FreeSql_Extensions_LazyLoading" xml:space="preserve"> <value>FreeSql: FreeSql needs to be installed for Delayed Loading. Extensions. LazyLoading. Dll, downloadable to nuget</value> </data> <data name="LazyLoading_CompilationError" xml:space="preserve"> <value>FreeSql: {trytbTypeName} Compilation error: {exMessage}\r\n\r\n{cscode}</value> </data> <data name="LazyLoading_EntityMustDeclarePublic" xml:space="preserve"> <value>FreeSql: Entity type {trytbTypeName} must be declared public</value> </data> <data name="ManyToMany_AsSelect_NotSupport_Sum_Avg_etc" xml:space="preserve"> <value>FreeSql: ManyToMany navigation properties. AsSelect() is temporarily unavailable for the Sum/Avg/Max/Min/First/ToOne/ToList method</value> </data> <data name="ManyToMany_NotFound_CorrespondingField" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} did not find a corresponding field in {tbmidCsName}, such as: {midTypePropsTrytbName}{findtrytbPkCsName}, {midTypePropsTrytbName}_ {findtrytbPkCsName}</value> </data> <data name="ManyToMany_ParsingError_EntityMissing_PrimaryKey" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} missing primary key identity, [Column (IsPrimary = true)]</value> </data> <data name="ManyToMany_ParsingError_EntityMustHas_NavigateCollection" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {tbrefTypeName} must have a corresponding [Navigate (ManyToMany = x)] collection property</value> </data> <data name="ManyToMany_ParsingError_InconsistentType" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, {tbmidCsName}. {trycolCsName} and {trytbCsName}. {trytbPrimarysCsName} type inconsistent</value> </data> <data name="ManyToMany_ParsingError_IntermediateClass_ErrorMessage" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}.{midTypePropsTrytbName} Error: {exMessage}</value> </data> <data name="ManyToMany_ParsingError_IntermediateClass_NotManyToOne_OneToOne" xml:space="preserve"> <value>FreeSql: [ManyToMany] Navigation property {trytbTypeName}. {pnvName} parsing error, intermediate class {tbmidCsName}. The {midTypePropsTrytbName} navigation property is not ManyToOne or OneToOne</value> </data> <data name="Mapping_Exception_HasNo_SamePropertyName" xml:space="preserve"> <value>FreeSql: Mapping exception: {name} None of the property names are the same</value> </data> <data name="MasterPool_IsNull_UseTransaction" xml:space="preserve"> <value>FreeSql: Ado. MasterPool value is null, this operation cannot self-enable transactions, please explicitly pass [transaction object] resolution</value> </data> <data name="Missing_FreeSqlProvider_Package" xml:space="preserve"> <value>FreeSql: Missing FreeSql database implementation package: FreeSql.Provider.{Provider}.Dll, downloadable to nuget</value> </data> <data name="Missing_FreeSqlProvider_Package_Reason" xml:space="preserve"> <value>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</value> </data> <data name="Navigation_Bind_Number_Different" xml:space="preserve"> <value>FreeSql: Navigation property {trytbTypeName}. The number of {pnvName} attributes [Navigate] Binds ({bindColumnsCount}) is different from the number of external primary keys ({tbrefPrimarysLength})</value> </data> <data name="Navigation_Missing_AsSelect" xml:space="preserve"> <value>FreeSql: {tb2DbName}. {mp2MemberName} Navigation Property Collection forgotten. AsSelect()? If used in ToList (a => a. {mp2MemberName}), step by step to refer to the IncludeMany document.</value> </data> <data name="Navigation_Missing_SetProperty" xml:space="preserve"> <value>FreeSql: Navigation Properties {trytbTypeDisplayCsharp}. Missing set attribute for {pName}</value> </data> <data name="Navigation_NotFound_CorrespondingField" xml:space="preserve"> <value>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.</value> </data> <data name="Navigation_ParsingError_EntityMissingPrimaryKey" xml:space="preserve"> <value>FreeSql: Navigation property {trytbTypeName}. {pnvName} parsing error, entity type {trytcTypeName} missing primary key identity, [Column (IsPrimary = true)]</value> </data> <data name="Navigation_ParsingError_InconsistentType" xml:space="preserve"> <value>FreeSql: Navigation property {trytbTypeName}. {pnvName} parsing error, {trytbCsName}. {trycolCsName} and {tbrefCsName}. {tbrefPrimarysCsName} type inconsistent</value> </data> <data name="Navigation_ParsingError_NotFound_Property" xml:space="preserve"> <value>FreeSql: Navigation property {trytbTypeName}. {pnvName} attribute [Navigate] parsing error, property not found at {tbrefTypeName}: {bi}</value> </data> <data name="NoPrimaryKey_UseSetDto" xml:space="preserve"> <value>FreeSql: {tableTypeDisplayCsharp} has no primary key defined and cannot use SetSource. Try SetDto</value> </data> <data name="NoProperty_Defined" xml:space="preserve"> <value>FreeSql: No properties defined</value> </data> <data name="Not_Implemented" xml:space="preserve"> <value>FreeSql: Not implemented</value> </data> <data name="Not_Implemented_Expression" xml:space="preserve"> <value>FreeSql: Function expression {exp} parsing not implemented</value> </data> <data name="Not_Implemented_Expression_ParameterUseConstant" xml:space="preserve"> <value>FreeSql: Function expression {exp} parsing not implemented, parameter {expArguments} must be constant</value> </data> <data name="Not_Implemented_Expression_UseAsSelect" xml:space="preserve"> <value>FreeSql: Function expression {exp} parsing is not implemented. Use if you are working on a navigation property collection. AsSelect (). {exp3MethodName} ({exp3ArgumentsCount})</value> </data> <data name="Not_Implemented_MemberAcess_Constant" xml:space="preserve"> <value>FreeSql: Constant under MemberAccess is not implemented</value> </data> <data name="Not_Implemented_Name" xml:space="preserve"> <value>FreeSql: {name} is not implemented</value> </data> <data name="Not_Support" xml:space="preserve"> <value>FreeSql: I won't support it</value> </data> <data name="Not_Support_OrderByRandom" xml:space="preserve"> <value>FreeSql: {dataType} does not support OrderByRandom sorting</value> </data> <data name="Not_Valid_Navigation_Property" xml:space="preserve"> <value>FreeSql: {property} is not a valid navigation property</value> </data> <data name="NotFound_Column" xml:space="preserve"> <value>FreeSql: {dbName} Column {memberName} not found</value> </data> <data name="NotFound_CsName_Column" xml:space="preserve"> <value>FreeSql: Cannot find the column corresponding to {CsName}</value> </data> <data name="NotFound_Property" xml:space="preserve"> <value>FreeSql: Attribute not found: {memberName}</value> </data> <data name="NotFound_PropertyName" xml:space="preserve"> <value>FreeSql: Property name {proto} not found</value> </data> <data name="NotFound_Reflection" xml:space="preserve"> <value>FreeSql: Custom could not find the corresponding {{reflection information}}:{fiValueCustomArray}</value> </data> <data name="NotFound_Static_MethodName" xml:space="preserve"> <value>FreeSql: Custom could not find the corresponding {{static method name}}:{fiValueCustomArray}</value> </data> <data name="NotFound_Table_Property_AsTable" xml:space="preserve"> <value>FreeSql: The property name {atmGroupsValue} set by [Table(AsTable = xx)] does not exist</value> </data> <data name="NotSpecified_UseConnectionString_UseConnectionFactory" xml:space="preserve"> <value>FreeSql: No UseConnectionString or UseConnectionFactory specified</value> </data> <data name="ObjectPool_Get_Timeout" xml:space="preserve"> <value>FreeSql: [{policyName}] ObjectPool. {GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081</value> </data> <data name="ObjectPool_GetAsync_Queue_Long" xml:space="preserve"> <value>FreeSql: [{policyName}] ObjectPool. GetAsync() The queue is too long. Policy. AsyncGetCapacity = {asyncGetCapacity}</value> </data> <data name="OneToMany_NotFound_CorrespondingField" xml:space="preserve"> <value>FreeSql: [OneToMany] Navigation property {trytbTypeName}.{pnvName} did not find a corresponding field in {tbrefCsName}, such as: {findtrytb}{findtrytbPkCsName}, {findtrytb}_{findtrytbPkCsName}</value> </data> <data name="OneToMany_ParsingError_InconsistentType" xml:space="preserve"> <value>FreeSql: [OneToMany] Navigation property {trytbTypeName}.{pnvName} parsing error, {trytbCsName}.{trytbPrimarysCsName} and {tbrefCsName}.{trycolCsName} is of inconsistent type</value> </data> <data name="OneToMany_UseNavigate" xml:space="preserve"> <value>, {refpropName}{findtrytbPkCsName}, {refpropName}_{findtrytbPkCsName}. Or use the [Navigate] attribute to specify the relationship mapping.</value> </data> <data name="Parameter_Field_NotSpecified" xml:space="preserve"> <value>FreeSql: Parameter field not specified</value> </data> <data name="ParameterError_NotValid_Collection" xml:space="preserve"> <value>FreeSql: The {property} parameter is incorrect, it is not a collection property and must be IList<T>or ICollection<T></value> </data> <data name="ParameterError_NotValid_Navigation" xml:space="preserve"> <value>FreeSql: The {property} parameter is incorrect, it is not a valid navigation property</value> </data> <data name="ParameterError_NotValid_PropertyName" xml:space="preserve"> <value>FreeSql: {where} parameter error, {keyval} is not a valid property name and cannot be found in entity class {reftbTypeDisplayCsharp}</value> </data> <data name="ParameterError_NotValid_UseCommas" xml:space="preserve"> <value>FreeSql: {property} parameter error, format "TopicId=Id, multiple groups using comma connection"</value> </data> <data name="Parsing_Failed" xml:space="preserve"> <value>FreeSql: Parsing failed {callExpMethodName} {message}</value> </data> <data name="Policy_ObjectPool_Dispose" xml:space="preserve"> <value>FreeSql: [{policyName}] The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079</value> </data> <data name="Policy_Status_NotAvailable" xml:space="preserve"> <value>FreeSql: The {policyName} status is unavailable and cannot be used until the background checker is restored. {UnavailableExceptionMessage}</value> </data> <data name="Properties_AsRowLock_Must_Numeric_Byte" xml:space="preserve"> <value>FreeSql: The property {trytbVersionColumnCsName} is labeled as a row lock (optimistic lock) (IsVersion), but it must be a numeric type or byte[] or string, and it cannot be Nullable</value> </data> <data name="Properties_Cannot_Null" xml:space="preserve"> <value>FreeSql: Properrties parameter cannot be empty</value> </data> <data name="Property_Cannot_Find" xml:space="preserve"> <value>FreeSql: {property} property name not found</value> </data> <data name="Range_Comma_Separateda_By2Char" xml:space="preserve"> <value>FreeSql: Range requires that Value be comma-separated and 2-length</value> </data> <data name="RollBack" xml:space="preserve"> <value>FreeSql: RollBack</value> </data> <data name="RunTimeError_Reflection_IncludeMany" xml:space="preserve"> <value>FreeSql: Runtime error, reflection failed to get IncludeMany method</value> </data> <data name="Set_Column_IsNullable_False" xml:space="preserve"> <value>FreeSql: {qoteSql} is NULL unless the attribute [Column (IsNullable = false)]</value> </data> <data name="SubTableFieldValue_CannotLessThen" xml:space="preserve"> <value>FreeSql: Subtable field value'{dt}'cannot be less than'{beginTime}'</value> </data> <data name="SubTableFieldValue_IsNotNull" xml:space="preserve"> <value>FreeSql: Subtable field value cannot be null</value> </data> <data name="SubTableFieldValue_NotConvertDateTime" xml:space="preserve"> <value>FreeSql: The tabular field value'{columnValue}'cannot be converted to DateTime</value> </data> <data name="SubTableFieldValue_NotMatchTable" xml:space="preserve"> <value>FreeSql: Table field value'{dt}'does not match table name</value> </data> <data name="T2_Type_Error" xml:space="preserve"> <value>FreeSql: Type T2 Error</value> </data> <data name="TableName_Format_Error" xml:space="preserve"> <value>FreeSql: TableName format error, example: "log_{yyyyMMdd}"</value> </data> <data name="Type_AsType_Parameter_Error" xml:space="preserve"> <value>FreeSql: {Type}. AsType parameter error, please pass in the correct entity type</value> </data> <data name="Type_Cannot_Access_Constructor" xml:space="preserve"> <value>FreeSql: The {thatFullName} type cannot access the constructor</value> </data> <data name="Type_Error_Name" xml:space="preserve"> <value>FreeSql: {name} type error</value> </data> <data name="TypeAsType_NotSupport_Object" xml:space="preserve"> <value>FreeSql: {Type}. AsType parameter does not support specifying as object</value> </data> <data name="TypeError_CannotUse_IncludeMany" xml:space="preserve"> <value>FreeSql: Type {typeofFullName} error, IncludeMany cannot be used</value> </data> <data name="Unable_Parse_Expression" xml:space="preserve"> <value>FreeSql: Unable to parse expression: {exp}</value> </data> <data name="Unable_Parse_ExpressionMethod" xml:space="preserve"> <value>FreeSql: Unable to parse expression method {exp3tmpCallMethodName}</value> </data> <data name="Use_InsertDict_Method" xml:space="preserve"> <value>FreeSql: Please use fsql. InsertDict (dict) method inserts dictionary data</value> </data> <data name="S_NotFound_Name" xml:space="preserve"> <value>FreeSql: {name} not found</value> </data> <data name="S_SlaveDatabase" xml:space="preserve"> <value>FreeSql: Slave Database</value> </data> <data name="S_MasterDatabase" xml:space="preserve"> <value>FreeSql: Master Database</value> </data> <data name="S_Access_InsertOnlyOneAtTime" xml:space="preserve"> <value>FreeSql: Egg pain Accs insertion can only be performed one at a time, values (..) are not supported. (..) Select is also not supported.. UNION ALL select..</value> </data> <data name="S_BaseEntity_Initialization_Error" xml:space="preserve"> <value>FreeSql: BaseEntity. Initialization initialization error, get IFreeSql is null</value> </data> <data name="S_BlockAccess_WaitForRecovery" xml:space="preserve"> <value>FreeSql: [{thisName}] Block access and wait for recovery: {exMessage}</value> </data> <data name="S_CannotBeConverted_To_ISelect" xml:space="preserve"> <value>FreeSql: IQueryable<{typeofName}> cannot be converted to ISelect<{typeofName}> because its implementation is not FreeSql.Extensions.Linq.QueryableProvider</value> </data> <data name="S_ConnectionStringError" xml:space="preserve"> <value>FreeSql: Connection string error</value> </data> <data name="S_ConnectionStringError_Check" xml:space="preserve"> <value>FreeSql: [{thisName}] Connection string error, please check.</value> </data> <data name="S_ConnectionStringError_CheckProject" xml:space="preserve"> <value>FreeSql: Connection string error, or check project properties > Build > Target Platform: x86 | x64, Or use FreeSql.Provider.SqliteCore accessing arm platform</value> </data> <data name="S_ConnectionStringError_CheckProjectConnection" xml:space="preserve"> <value>FreeSql: [{thisName}] Connection string error, please check. Or check Project Properties > Build > Target Platform: x86 | x64, Or use FreeSql.Provider.SqliteCore accessing arm platform</value> </data> <data name="S_CustomAdapter_Cannot_Use_CreateCommand" xml:space="preserve"> <value>FreeSql: FreeSql.Provider.CustomAdapter cannot use CreateCommand</value> </data> <data name="S_CustomAdapter_OnlySuppport_UseConnectionFactory " xml:space="preserve"> <value>FreeSql: FreeSql.Provider.CustomAdapter only supports building IFreeSql in the UseConnectionFactory way</value> </data> <data name="S_Dameng_NotSupport_TablespaceSchemas " xml:space="preserve"> <value>FreeSql: Dream CodeFirst does not support code creation tablespace and schemas {tbname}</value> </data> <data name="S_DB_Parameter_Error_NoConnectionString" xml:space="preserve"> <value>FreeSql: -DB parameter error, no ConnectionString provided</value> </data> <data name="S_DB_ParameterError" xml:space="preserve"> <value>FreeSql: -DB parameter error, format: MySql, ConnectionString</value> </data> <data name="S_DB_ParameterError_UnsupportedType" xml:space="preserve"> <value>FreeSql: -DB parameter error, unsupported type: "{dbargs}"</value> </data> <data name="S_Features_Unique" xml:space="preserve"> <value>FreeSql: {method} is FreeSql.Provider.{provider} specific features</value> </data> <data name="S_InsertOrUpdate_Unable_UpdateColumns" xml:space="preserve"> <value>FreeSql: InsertOrUpdate Sqlite was unable to complete the UpdateColumns operation</value> </data> <data name="S_MygisGeometry_NotImplement" xml:space="preserve"> <value>FreeSql: MygisGeometry. Parse does not implement "{wkt}"</value> </data> <data name="S_NameOptions_Incorrect" xml:space="preserve"> <value>FreeSql: -NameOptions parameter incorrect, format: 0,0,0,0</value> </data> <data name="S_Not_Implemented_Feature" xml:space="preserve"> <value>FreeSql: This function is not implemented</value> </data> <data name="S_Not_Implemented_FeedBack" xml:space="preserve"> <value>FreeSql: Unrealized error, please feedback to author</value> </data> <data name="S_NotImplementSkipOffset" xml:space="preserve"> <value>FreeSql: FreeSql.Provider.{providerName} does not implement Skip/Offset functionality, use to determine last ID if paging is required</value> </data> <data name="S_OldTableExists" xml:space="preserve"> <value>FreeSql: Old table (OldName): {tboldname} exists, database already exists {tbname} table, cannot rename</value> </data> <data name="S_OnConflictDoUpdate_MustIsPrimary" xml:space="preserve"> <value>FreeSql: The OnConflictDoUpdate feature requires that entity classes must set the IsPrimary property</value> </data> <data name="S_Oracle_NotSupport_TablespaceSchemas" xml:space="preserve"> <value>FreeSql: Oracle CodeFirst does not support code creation of tablespace and schemas {tbname}</value> </data> <data name="S_ParsingFailed_UseRestoreToSelect" xml:space="preserve"> <value>FreeSql: Parsing failed {callExpMethodName} {message}, hint: Extension method IQueryable can be used. RestoreToSelect() reverted to ISelect re-query</value> </data> <data name="S_RequiresEntityPrimaryKey" xml:space="preserve"> <value>FreeSql: InsertOrUpdate + IfExistsDoNothing + {providerName} requires the entity class {tableCsName} to have a primary key</value> </data> <data name="S_SelectManayErrorType" xml:space="preserve"> <value>FreeSql: SelectMany error type: {typeFullName}</value> </data> <data name="S_Type_IsNot_Migrable" xml:space="preserve"> <value>FreeSql: Type {objentityTypeFullName} is not migrable</value> </data> <data name="S_Type_IsNot_Migrable_0Attributes" xml:space="preserve"> <value>FreeSql: Type {objentityTypeFullName} is not migrable, migratable property 0</value> </data> <data name="S_TypeMappingNotImplemented" xml:space="preserve"> <value>FreeSql: {columnDbTypeTextFull} type mapping not implemented</value> </data> <data name="S_WrongParameter" xml:space="preserve"> <value>FreeSql: Wrong parameter setting: {args}</value> </data> <data name="S_ObjectPool" xml:space="preserve"> <value>FreeSql: Object pool</value> </data></xml>`; var xml2= `<xml id="xml2"><data name="AsTable_PropertyName_FormatError" xml:space="preserve"> <value>[Table(AsTable = "{asTable}")] 特性值格式错误</value> </data> <data name="AsTable_PropertyName_NotDateTime" xml:space="preserve"> <value>[Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不是 DateTime 类型</value> </data> <data name="Available_Failed_Get_Resource" xml:space="preserve"> <value>{name}: Failed to get resource {statistics}</value> </data> <data name="Available_Thrown_Exception" xml:space="preserve"> <value>{name}: An exception needs to be thrown</value> </data> <data name="Bad_Expression_Format" xml:space="preserve"> <value>错误的表达式格式 {column}</value> </data> <data name="Before_Chunk_Cannot_Use_Select" xml:space="preserve"> <value>Chunk 功能之前不可使用 Select</value> </data> <data name="Begin_Transaction_Then_ForUpdate" xml:space="preserve"> <value>安全起见,请务必在事务开启之后,再使用 ForUpdate</value> </data> <data name="Cannot_Be_NULL" xml:space="preserve"> <value>不能为 null</value> </data> <data name="Cannot_Be_NULL_Name" xml:space="preserve"> <value>{name} 不能为 null</value> </data> <data name="Cannot_Match_Property" xml:space="preserve"> <value>无法匹配 {property}</value> </data> <data name="Cannot_Resolve_ExpressionTree" xml:space="preserve"> <value>{property} 无法解析为表达式树</value> </data> <data name="Check_UseConnectionString" xml:space="preserve"> <value>参数 masterConnectionString 不可为空,请检查 UseConnectionString</value> </data> <data name="Commit" xml:space="preserve"> <value>提交</value> </data> <data name="Connection_Failed_Switch_Servers" xml:space="preserve"> <value>连接失败,准备切换其他可用服务器</value> </data> <data name="Custom_Expression_ParsingError" xml:space="preserve"> <value>自定义表达式解析错误:类型 {exp3MethodDeclaringType} 需要定义 static ThreadLocal<ExpressionCallContext> 字段、字段、字段(重要三次提醒)</value> </data> <data name="Custom_Reflection_IsNotNull" xml:space="preserve"> <value>Custom { 反射信息 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }</value> </data> <data name="Custom_StaticMethodName_IsNotNull" xml:space="preserve"> <value>Custom { 静态方法名 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }</value> </data> <data name="Custom_StaticMethodName_NotSet_DynamicFilterCustom" xml:space="preserve"> <value>Custom 对应的{{ 静态方法名 }}:{fiValueCustomArray} 未设置 [DynamicFilterCustomAttribute] 特性</value> </data> <data name="CustomFieldSeparatedBySpaces" xml:space="preserve"> <value>Custom 要求 Field 应该空格分割,并且长度为 2,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }</value> </data> <data name="DataType_AsType_Inconsistent" xml:space="preserve"> <value>操作的数据类型({dataDisplayCsharp}) 与 AsType({tableTypeDisplayCsharp}) 不一致,请检查。</value> </data> <data name="DateRange_Comma_Separateda_By2Char" xml:space="preserve"> <value>DateRange 要求 Value 应该逗号分割,并且长度为 2</value> </data> <data name="DateRange_DateFormat_yyyy" xml:space="preserve"> <value>DateRange 要求 Value[1] 格式必须为:yyyy、yyyy-MM、yyyy-MM-dd、yyyy-MM-dd HH、yyyy、yyyy-MM-dd HH:mm</value> </data> <data name="DbUpdateVersionException_RowLevelOptimisticLock" xml:space="preserve"> <value>记录可能不存在,或者【行级乐观锁】版本过旧,更新数量{sourceCount},影响的行数{affrows}。</value> </data> <data name="Different_Number_SlaveConnectionString_SlaveWeights" xml:space="preserve"> <value>SlaveConnectionString 数量与 SlaveWeights 不相同</value> </data> <data name="Duplicate_ColumnAttribute" xml:space="preserve"> <value>ColumnAttribute.Name {colattrName} 重复存在,请检查(注意:不区分大小写)</value> </data> <data name="Duplicate_PropertyName" xml:space="preserve"> <value>属性名 {pName} 重复存在,请检查(注意:不区分大小写)</value> </data> <data name="Entity_Must_Primary_Key" xml:space="preserve"> <value>{function} 功能要求实体类 {tableCsName} 必须有主键</value> </data> <data name="Entity_MySQL_VersionsBelow8_NotSupport_Multiple_PrimaryKeys" xml:space="preserve"> <value>{tbTypeFullName} 是父子关系,但是 MySql 8.0 以下版本中不支持组合多主键</value> </data> <data name="Entity_NotParentChild_Relationship" xml:space="preserve"> <value>{tbTypeFullName} 不是父子关系,无法使用该功能</value> </data> <data name="EspeciallySubquery_Cannot_Parsing" xml:space="preserve"> <value>这个特别的子查询不能解析</value> </data> <data name="Expression_Error_Use_ParameterExpression" xml:space="preserve"> <value>表达式错误,它的顶级对象不是 ParameterExpression:{exp}</value> </data> <data name="Expression_Error_Use_Successive_MemberAccess_Type" xml:space="preserve"> <value>表达式错误,它不是连续的 MemberAccess 类型:{exp}</value> </data> <data name="ExpressionTree_Convert_Type_Error" xml:space="preserve"> <value>ExpressionTree 转换类型错误,值({value}),类型({valueTypeFullName}),目标类型({typeFullName}),{exMessage}</value> </data> <data name="Failed_SubTable_FieldValue" xml:space="preserve"> <value>未能解析分表字段值 {sqlWhere}</value> </data> <data name="Functions_AsTable_NotImplemented" xml:space="preserve"> <value>AsTable 未实现的功能 {asTable}</value> </data> <data name="GBase_NotSupport_OtherThanCommas" xml:space="preserve"> <value>GBase 暂时不支持逗号以外的分割符</value> </data> <data name="Generated_Same_SubTable" xml:space="preserve"> <value>tableName:{tableName} 生成了相同的分表名</value> </data> <data name="GetPrimarys_ParameterError_IsNotDictKey " xml:space="preserve"> <value>GetPrimarys 传递的参数 "{primary}" 不正确,它不属于字典数据的键名</value> </data> <data name="Has_Specified_Cannot_Specified_Second" xml:space="preserve"> <value>已经指定了 {first},不能再指定 {second}</value> </data> <data name="Ignored_Check_Confirm_PublicGetSet" xml:space="preserve"> <value>{tb2DbName}.{mp2MemberName} 被忽略,请检查 IsIgnore 设置,确认 get/set 为 public</value> </data> <data name="Include_ParameterType_Error" xml:space="preserve"> <value>Include 参数类型错误</value> </data> <data name="Include_ParameterType_Error_Use_IncludeMany" xml:space="preserve"> <value>Include 参数类型错误,集合属性请使用 IncludeMany</value> </data> <data name="Include_ParameterType_Error_Use_MemberAccess" xml:space="preserve"> <value>Include 参数类型错误,表达式类型应该为 MemberAccess</value> </data> <data name="IncludeMany_NotValid_Navigation" xml:space="preserve"> <value>IncludeMany 类型 {tbTypeDisplayCsharp} 的属性 {collMemMemberName} 不是有效的导航属性,提示:IsIgnore = true 不会成为导航属性</value> </data> <data name="IncludeMany_ParameterError_OnlyUseOneParameter" xml:space="preserve"> <value>IncludeMany {navigateSelector} 参数错误,Select 只可以使用一个参数的方法,正确格式:.Select(t =>new TNavigate {{}})</value> </data> <data name="IncludeMany_ParameterError_Select_ReturnConsistentType" xml:space="preserve"> <value>IncludeMany {navigateSelector} 参数错误,Select lambda参数返回值必须和 {collMemElementType} 类型一致</value> </data> <data name="IncludeMany_ParameterType_Error_Use_MemberAccess" xml:space="preserve"> <value>IncludeMany 参数1 类型错误,表达式类型应该为 MemberAccess</value> </data> <data name="IncludeMany_ParameterTypeError" xml:space="preserve"> <value>IncludeMany {navigateSelector} 参数类型错误,正确格式: a.collections.Take(1).Where(c =>c.aid == a.id).Select(a=> new TNavigate{{}})</value> </data> <data name="InsertInto_No_Property_Selected" xml:space="preserve"> <value>ISelect.InsertInto() 未选择属性: {displayCsharp}</value> </data> <data name="InsertInto_TypeError" xml:space="preserve"> <value>ISelect.InsertInto() 类型错误: {displayCsharp}</value> </data> <data name="InsertOrUpdate_Must_Primary_Key" xml:space="preserve"> <value>InsertOrUpdate 功能执行 merge into 要求实体类 {CsName} 必须有主键</value> </data> <data name="InsertOrUpdate_NotSuport_Generic_UseEntity" xml:space="preserve"> <value>InsertOrUpdate<>的泛型参数 不支持 {typeofT1},请传递您的实体类</value> </data> <data name="Install_FreeSql_Extensions_LazyLoading" xml:space="preserve"> <value>【延时加载】功能需要安装 FreeSql.Extensions.LazyLoading.dll,可前往 nuget 下载</value> </data> <data name="LazyLoading_CompilationError" xml:space="preserve"> <value>【延时加载】{trytbTypeName} 编译错误:{exMessage}\r\n\r\n{cscode}</value> </data> <data name="LazyLoading_EntityMustDeclarePublic" xml:space="preserve"> <value>【延时加载】实体类型 {trytbTypeName} 必须声明为 public</value> </data> <data name="ManyToMany_AsSelect_NotSupport_Sum_Avg_etc" xml:space="preserve"> <value>ManyToMany 导航属性 .AsSelect() 暂时不可用于 Sum/Avg/Max/Min/First/ToOne/ToList 方法</value> </data> <data name="ManyToMany_NotFound_CorrespondingField" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbmidCsName} 中没有找到对应的字段,如:{midTypePropsTrytbName}{findtrytbPkCsName}、{midTypePropsTrytbName}_{findtrytbPkCsName}</value> </data> <data name="ManyToMany_ParsingError_EntityMissing_PrimaryKey" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 缺少主键标识,[Column(IsPrimary = true)]</value> </data> <data name="ManyToMany_ParsingError_EntityMustHas_NavigateCollection" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 必须存在对应的 [Navigate(ManyToMany = x)] 集合属性</value> </data> <data name="ManyToMany_ParsingError_InconsistentType" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{tbmidCsName}.{trycolCsName} 和 {trytbCsName}.{trytbPrimarysCsName} 类型不一致</value> </data> <data name="ManyToMany_ParsingError_IntermediateClass_ErrorMessage" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 错误:{exMessage}</value> </data> <data name="ManyToMany_ParsingError_IntermediateClass_NotManyToOne_OneToOne" xml:space="preserve"> <value>【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 导航属性不是【ManyToOne】或【OneToOne】</value> </data> <data name="Mapping_Exception_HasNo_SamePropertyName" xml:space="preserve"> <value>映射异常:{name} 没有一个属性名相同</value> </data> <data name="MasterPool_IsNull_UseTransaction" xml:space="preserve"> <value>Ado.MasterPool 值为 null,该操作无法自启用事务,请显式传递【事务对象】解决</value> </data> <data name="Missing_FreeSqlProvider_Package" xml:space="preserve"> <value>缺少 FreeSql 数据库实现包:FreeSql.Provider.{Provider}.dll,可前往 nuget 下载</value> </data> <data name="Missing_FreeSqlProvider_Package_Reason" xml:space="preserve"> <value>缺少 FreeSql 数据库实现包:{dll},可前往 nuget 下载;如果存在 {dll} 依然报错(原因是环境问题导致反射不到类型),请在 UseConnectionString/UseConnectionFactory 第三个参数手工传入 typeof({providerType})</value> </data> <data name="Navigation_Bind_Number_Different" xml:space="preserve"> <value>导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] Bind 数目({bindColumnsCount}) 与 外部主键数目({tbrefPrimarysLength}) 不相同</value> </data> <data name="Navigation_Missing_AsSelect" xml:space="preserve"> <value>{tb2DbName}.{mp2MemberName} 导航属性集合忘了 .AsSelect() 吗?如果在 ToList(a => a.{mp2MemberName}) 中使用,请移步参考 IncludeMany 文档。</value> </data> <data name="Navigation_Missing_SetProperty" xml:space="preserve"> <value>【导航属性】{trytbTypeDisplayCsharp}.{pName} 缺少 set 属性</value> </data> <data name="Navigation_NotFound_CorrespondingField" xml:space="preserve"> <value>导航属性 {trytbTypeName}.{pnvName} 没有找到对应的字段,如:{pnvName}{findtbrefPkCsName}、{pnvName}_{findtbrefPkCsName}。或者使用 [Navigate] 特性指定关系映射。</value> </data> <data name="Navigation_ParsingError_EntityMissingPrimaryKey" xml:space="preserve"> <value>导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {trytcTypeName} 缺少主键标识,[Column(IsPrimary = true)]</value> </data> <data name="Navigation_ParsingError_InconsistentType" xml:space="preserve"> <value>导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trycolCsName} 和 {tbrefCsName}.{tbrefPrimarysCsName} 类型不一致</value> </data> <data name="Navigation_ParsingError_NotFound_Property" xml:space="preserve"> <value>导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] 解析错误,在 {tbrefTypeName} 未找到属性:{bi}</value> </data> <data name="NoPrimaryKey_UseSetDto" xml:space="preserve"> <value>{tableTypeDisplayCsharp} 没有定义主键,无法使用 SetSource,请尝试 SetDto 或者 SetSource 指定临时主键</value> </data> <data name="NoProperty_Defined" xml:space="preserve"> <value> 没有定义属性 </value> </data> <data name="Not_Implemented" xml:space="preserve"> <value>未实现</value> </data> <data name="Not_Implemented_Expression" xml:space="preserve"> <value>未实现函数表达式 {exp} 解析</value> </data> <data name="Not_Implemented_Expression_ParameterUseConstant" xml:space="preserve"> <value>未实现函数表达式 {exp} 解析,参数 {expArguments} 必须为常量</value> </data> <data name="Not_Implemented_Expression_UseAsSelect" xml:space="preserve"> <value>未实现函数表达式 {exp} 解析,如果正在操作导航属性集合,请使用 .AsSelect().{exp3MethodName}({exp3ArgumentsCount})</value> </data> <data name="Not_Implemented_MemberAcess_Constant" xml:space="preserve"> <value>未实现 MemberAccess 下的 Constant</value> </data> <data name="Not_Implemented_Name" xml:space="preserve"> <value>未实现 {name}</value> </data> <data name="Not_Support" xml:space="preserve"> <value>不支持</value> </data> <data name="Not_Support_OrderByRandom" xml:space="preserve"> <value>{dataType} 不支持 OrderByRandom 随机排序</value> </data> <data name="Not_Valid_Navigation_Property" xml:space="preserve"> <value>{property} 不是有效的导航属性</value> </data> <data name="NotFound_Column" xml:space="preserve"> <value>{dbName} 找不到列 {memberName}</value> </data> <data name="NotFound_CsName_Column" xml:space="preserve"> <value>找不到 {CsName} 对应的列</value> </data> <data name="NotFound_Property" xml:space="preserve"> <value>找不到属性:{memberName}</value> </data> <data name="NotFound_PropertyName" xml:space="preserve"> <value>找不到属性名 {proto}</value> </data> <data name="NotFound_Reflection" xml:space="preserve"> <value>Custom 找不到对应的{{ 反射信息 }}:{fiValueCustomArray}</value> </data> <data name="NotFound_Static_MethodName" xml:space="preserve"> <value>Custom 找不到对应的{{ 静态方法名 }}:{fiValueCustomArray}</value> </data> <data name="NotFound_Table_Property_AsTable" xml:space="preserve"> <value>[Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不存在</value> </data> <data name="NotSpecified_UseConnectionString_UseConnectionFactory" xml:space="preserve"> <value>未指定 UseConnectionString 或者 UseConnectionFactory</value> </data> <data name="ObjectPool_Get_Timeout" xml:space="preserve"> <value>【{policyName}】ObjectPool.{GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081</value> </data> <data name="ObjectPool_GetAsync_Queue_Long" xml:space="preserve"> <value>【{policyName}】ObjectPool.GetAsync() The queue is too long. Policy.AsyncGetCapacity = {asyncGetCapacity}</value> </data> <data name="OneToMany_NotFound_CorrespondingField" xml:space="preserve"> <value>【OneToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbrefCsName} 中没有找到对应的字段,如:{findtrytb}{findtrytbPkCsName}、{findtrytb}_{findtrytbPkCsName}</value> </data> <data name="OneToMany_ParsingError_InconsistentType" xml:space="preserve"> <value>【OneToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trytbPrimarysCsName} 和 {tbrefCsName}.{trycolCsName} 类型不一致</value> </data> <data name="OneToMany_UseNavigate" xml:space="preserve"> <value>、{refpropName}{findtrytbPkCsName}、{refpropName}_{findtrytbPkCsName}。或者使用 [Navigate] 特性指定关系映射。</value> </data> <data name="Parameter_Field_NotSpecified" xml:space="preserve"> <value>参数 field 未指定</value> </data> <data name="ParameterError_NotValid_Collection" xml:space="preserve"> <value>{property} 参数错误,它不是集合属性,必须为 IList<T> 或者 ICollection<T></value> </data> <data name="ParameterError_NotValid_Navigation" xml:space="preserve"> <value>{property} 参数错误,它不是有效的导航属性</value> </data> <data name="ParameterError_NotValid_PropertyName" xml:space="preserve"> <value>{where} 参数错误,{keyval} 不是有效的属性名,在实体类 {reftbTypeDisplayCsharp} 无法找到</value> </data> <data name="ParameterError_NotValid_UseCommas" xml:space="preserve"> <value>{property} 参数错误,格式 "TopicId=Id,多组使用逗号连接" </value> </data> <data name="Parsing_Failed" xml:space="preserve"> <value>解析失败 {callExpMethodName} {message}</value> </data> <data name="Policy_ObjectPool_Dispose" xml:space="preserve"> <value>【{policyName}】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079</value> </data> <data name="Policy_Status_NotAvailable" xml:space="preserve"> <value>【{policyName}】状态不可用,等待后台检查程序恢复方可使用。{UnavailableExceptionMessage}</value> </data> <data name="Properties_AsRowLock_Must_Numeric_Byte" xml:space="preserve"> <value>属性{trytbVersionColumnCsName} 被标注为行锁(乐观锁)(IsVersion),但其必须为数字类型 或者 byte[] 或者 string,并且不可为 Nullable</value> </data> <data name="Properties_Cannot_Null" xml:space="preserve"> <value>properties 参数不能为空</value> </data> <data name="Property_Cannot_Find" xml:space="preserve"> <value>{property} 属性名无法找到</value> </data> <data name="Range_Comma_Separateda_By2Char" xml:space="preserve"> <value>Range 要求 Value 应该逗号分割,并且长度为 2</value> </data> <data name="RollBack" xml:space="preserve"> <value>回滚</value> </data> <data name="RunTimeError_Reflection_IncludeMany" xml:space="preserve"> <value>运行时错误,反射获取 IncludeMany 方法失败</value> </data> <data name="S_Access_InsertOnlyOneAtTime" xml:space="preserve"> <value>蛋疼的 Access 插入只能一条一条执行,不支持 values(..),(..) 也不支持 select .. UNION ALL select ..</value> <comment>Providers</comment> </data> <data name="S_BaseEntity_Initialization_Error" xml:space="preserve"> <value>BaseEntity.Initialization 初始化错误,获取到 IFreeSql 是 null</value> <comment>Extensions</comment> </data> <data name="S_BlockAccess_WaitForRecovery" xml:space="preserve"> <value>【{thisName}】Block access and wait for recovery: {exMessage}</value> <comment>Providers</comment> </data> <data name="S_CannotBeConverted_To_ISelect" xml:space="preserve"> <value>无法将 IQueryable<{typeofName}> 转换为 ISelect<{typeofName}>,因为他的实现不是 FreeSql.Extensions.Linq.QueryableProvider</value> <comment>Extensions</comment> </data> <data name="S_ConnectionStringError" xml:space="preserve"> <value>连接字符串错误</value> <comment>Providers</comment> </data> <data name="S_ConnectionStringError_Check" xml:space="preserve"> <value>【{thisName}】连接字符串错误,请检查。</value> <comment>Providers</comment> </data> <data name="S_ConnectionStringError_CheckProject" xml:space="preserve"> <value>连接字符串错误,或者检查项目属性 > 生成 > 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台</value> <comment>Providers</comment> </data> <data name="S_ConnectionStringError_CheckProjectConnection" xml:space="preserve"> <value>【{thisName}】连接字符串错误,请检查。或者检查项目属性 > 生成 > 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台</value> <comment>Providers</comment> </data> <data name="S_CustomAdapter_Cannot_Use_CreateCommand" xml:space="preserve"> <value>FreeSql.Provider.CustomAdapter 无法使用 CreateCommand</value> <comment>Providers</comment> </data> <data name="S_CustomAdapter_OnlySuppport_UseConnectionFactory " xml:space="preserve"> <value>FreeSql.Provider.CustomAdapter 仅支持 UseConnectionFactory 方式构建 IFreeSql</value> <comment>Providers</comment> </data> <data name="S_Dameng_NotSupport_TablespaceSchemas " xml:space="preserve"> <value>达梦 CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}</value> <comment>Providers</comment> </data> <data name="S_DB_Parameter_Error_NoConnectionString" xml:space="preserve"> <value>-DB 参数错误,未提供 ConnectionString</value> <comment>Extensions</comment> </data> <data name="S_DB_ParameterError" xml:space="preserve"> <value>-DB 参数错误,格式为:MySql,ConnectionString</value> <comment>Extensions</comment> </data> <data name="S_DB_ParameterError_UnsupportedType" xml:space="preserve"> <value>-DB 参数错误,不支持的类型:"{dbargs}"</value> <comment>Extensions</comment> </data> <data name="S_Features_Unique" xml:space="preserve"> <value>{method} 是 FreeSql.Provider.{provider} 特有的功能</value> <comment>Providers</comment> </data> <data name="S_InsertOrUpdate_Unable_UpdateColumns" xml:space="preserve"> <value>fsql.InsertOrUpdate Sqlite 无法完成 UpdateColumns 操作</value> <comment>Providers</comment> </data> <data name="S_MasterDatabase" xml:space="preserve"> <value>主库</value> <comment>Providers</comment> </data> <data name="S_MygisGeometry_NotImplement" xml:space="preserve"> <value>MygisGeometry.Parse 未实现 "{wkt}"</value> <comment>Providers</comment> </data> <data name="S_NameOptions_Incorrect" xml:space="preserve"> <value>-NameOptions 参数错误,格式为:0,0,0,0</value> <comment>Extensions</comment> </data> <data name="S_Not_Implemented_Feature" xml:space="preserve"> <value> 未实现该功能</value> <comment>Providers</comment> </data> <data name="S_Not_Implemented_FeedBack" xml:space="preserve"> <value>未实现错误,请反馈给作者</value> <comment>Providers</comment> </data> <data name="S_NotFound_Name" xml:space="preserve"> <value>找不到 {name}</value> <comment>Providers</comment> </data> <data name="S_NotImplementSkipOffset" xml:space="preserve"> <value>FreeSql.Provider.{providerName} 未实现 Skip/Offset 功能,如果需要分页请使用判断上一次 id</value> <comment>Providers</comment> </data> <data name="S_ObjectPool" xml:space="preserve"> <value>对象池</value> <comment>Providers</comment> </data> <data name="S_OldTableExists" xml:space="preserve"> <value>旧表(OldName):{tboldname} 存在,数据库已存在 {tbname} 表,无法改名</value> <comment>Providers</comment> </data> <data name="S_OnConflictDoUpdate_MustIsPrimary" xml:space="preserve"> <value>OnConflictDoUpdate 功能要求实体类必须设置 IsPrimary 属性</value> <comment>Providers</comment> </data> <data name="S_Oracle_NotSupport_TablespaceSchemas" xml:space="preserve"> <value>Oracle CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}</value> <comment>Providers</comment> </data> <data name="S_ParsingFailed_UseRestoreToSelect" xml:space="preserve"> <value>解析失败 {callExpMethodName} {message},提示:可以使用扩展方法 IQueryable.RestoreToSelect() 还原为 ISelect 再查询</value> <comment>Extensions</comment> </data> <data name="S_RequiresEntityPrimaryKey" xml:space="preserve"> <value>fsql.InsertOrUpdate + IfExistsDoNothing + {providerName}要求实体类 {tableCsName} 必须有主键</value> <comment>Providers</comment> </data> <data name="S_SelectManayErrorType" xml:space="preserve"> <value>SelectMany 错误的类型:{typeFullName}</value> <comment>Extensions</comment> </data> <data name="S_SlaveDatabase" xml:space="preserve"> <value>从库</value> <comment>Providers</comment> </data> <data name="S_Type_IsNot_Migrable" xml:space="preserve"> <value>类型 {objentityTypeFullName} 不可迁移</value> <comment>Providers</comment> </data> <data name="S_Type_IsNot_Migrable_0Attributes" xml:space="preserve"> <value>类型 {objentityTypeFullName} 不可迁移,可迁移属性0个</value> <comment>Providers</comment> </data> <data name="S_TypeMappingNotImplemented" xml:space="preserve"> <value>未实现 {columnDbTypeTextFull} 类型映射</value> <comment>Providers</comment> </data> <data name="S_WrongParameter" xml:space="preserve"> <value>错误的参数设置:{args}</value> <comment>Extensions</comment> </data> <data name="Set_Column_IsNullable_False" xml:space="preserve"> <value>{qoteSql} is NULL,除非设置特性 [Column(IsNullable = false)]</value> </data> <data name="SubTableFieldValue_CannotLessThen" xml:space="preserve"> <value>分表字段值 "{dt}" 不能小于 "{beginTime} "</value> </data> <data name="SubTableFieldValue_IsNotNull" xml:space="preserve"> <value>分表字段值不能为 null</value> </data> <data name="SubTableFieldValue_NotConvertDateTime" xml:space="preserve"> <value>分表字段值 "{columnValue}" 不能转化成 DateTime</value> </data> <data name="SubTableFieldValue_NotMatchTable" xml:space="preserve"> <value>分表字段值 "{dt}" 未匹配到分表名</value> </data> <data name="T2_Type_Error" xml:space="preserve"> <value>T2 类型错误</value> </data> <data name="TableName_Format_Error" xml:space="preserve"> <value>tableName 格式错误,示例:“log_{yyyyMMdd}”</value> </data> <data name="Type_AsType_Parameter_Error" xml:space="preserve"> <value>{Type}.AsType 参数错误,请传入正确的实体类型</value> </data> <data name="Type_Cannot_Access_Constructor" xml:space="preserve"> <value>{thatFullName} 类型无法访问构造函数</value> </data> <data name="Type_Error_Name" xml:space="preserve"> <value>{name} 类型错误</value> </data> <data name="TypeAsType_NotSupport_Object" xml:space="preserve"> <value>{Type}.AsType 参数不支持指定为 object</value> </data> <data name="TypeError_CannotUse_IncludeMany" xml:space="preserve"> <value>类型 {typeofFullName} 错误,不能使用 IncludeMany</value> </data> <data name="Unable_Parse_Expression" xml:space="preserve"> <value>无法解析表达式:{exp}</value> </data> <data name="Unable_Parse_ExpressionMethod" xml:space="preserve"> <value>无法解析表达式方法 {exp3tmpCallMethodName}</value> </data> <data name="Use_InsertDict_Method" xml:space="preserve"> <value>请使用 fsql.InsertDict(dict) 方法插入字典数据</value> </data></xml>`; $(document.body).append(xml1); $(document.body).append(xml2); var sb = 'public static class ErrorStrings {\r\npublic static string Language = "en";'; var datas = $('#xml1 data'); for (var a= 0; a < datas.length; a++) { var name = $(datas[a]).attr('name'); var en = $(datas[a]).find('value').text(); var cn = $('#xml2 data[name="' + name + '"]').find('value').text(); console.log(name + ':' + en + '|' + cn); sb += ` /// <summary> /// ` + cn.replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&').split('\n')[0].replace(/\n/, '').replace(/\r\n/g, '') + ` /// </summary>`; var args = en.match(/\{(\w+)\}/g); if (args == null || args.length == 0) { sb += '\r\n public static string ' + name + ' => Language == "cn" ? \r\n @"' + cn.replace(/"/g, '""') + '" : \r\n @"' + en.replace(/"/g, '""') + '";'; } else if (args.length > 0) { sb += '\r\n public static string ' + name + '('; var csargs = []; var csargsdict = {}; for (var b = 0; b < args.length; b++) { var argname = args[b].substr(1, args[b].length - 2); if (csargsdict[argname] == null) { if (b > 0) sb += ', '; sb += 'object ' + argname; csargsdict[argname] = b; csargs.push(argname); } en = en.replace(args[b], '{' + csargsdict[argname] + '}'); cn = cn.replace(args[b], '{' + csargsdict[argname] + '}'); } sb += ') => string.Format(Language == "cn" ? \r\n @"' + cn.replace(/"/g, '""') + '" : \r\n @"' + en.replace(/"/g, '""') + '", ' + csargs.join(', ') + ');'; } } sb += '\r\n}\r\n'; console.log(sb);
The text was updated successfully, but these errors were encountered:
- 调整 resources 转换成 static class 静态类;#1917
01b9ae0
v3.5.100-preview20241108 ##1917
ce4a77f
No branches or pull requests
The text was updated successfully, but these errors were encountered: