Skip to content

Commit

Permalink
- 优化 ISelect<object>.WithMemory 对匿名类型的支持;
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Nov 8, 2024
1 parent 2ae799a commit 1f21dd7
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 378 deletions.
8 changes: 4 additions & 4 deletions FreeSql.DbContext/DbContext/DbContextErrorStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static string CannotUpdate_RecordDoesNotExist(object entityString) => str
/// </summary>
public static string DbSetAsType_NotSupport_Object => Language == "cn" ?
@"DbSet.AsType 参数错误,请传入正确的实体类型" :
@"FreeSql: DbSet. AsType parameter error, please pass in the correct entity type";
@"FreeSql: DbSet.AsType parameter error, please pass in the correct entity type";
/// <summary>
/// 实体类型 {EntityTypeName} 无法转换为 {name},无法使用该方法
/// </summary>
Expand All @@ -134,7 +134,7 @@ public static string EntityType_PrimaryKeyIsNotOne(object EntityTypeName) => str
/// </summary>
public static string FailedSetFilter_NotBelongIRpository => Language == "cn" ?
@"FreeSql.Repository 设置过滤器失败,原因是对象不属于 IRepository" :
@"FreeSql: 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";
/// <summary>
/// 不可比较,实体没有主键:{entityString}
/// </summary>
Expand All @@ -158,7 +158,7 @@ public static string InsertError_Filter(object filterKey, object filterValueExpr
/// </summary>
public static string ISelectAsType_ParameterError => Language == "cn" ?
@"ISelect.AsType 参数不支持指定为 object" :
@"FreeSql: ISelect. AsType parameter does not support specifying as object";
@"FreeSql: ISelect.AsType parameter does not support specifying as object";
/// <summary>
/// {tableTypeFullName} 不存在属性 {propertyName}
/// </summary>
Expand All @@ -170,7 +170,7 @@ public static string NotFound_Property(object propertyName, object tableTypeFull
/// </summary>
public static string NotFoundMethod_StatesRemoveByObjects => Language == "cn" ?
@"找不到方法 DbSet<>.StatesRemoveByObjects" :
@"FreeSql: Method DbSet<> not found. StatesRemoveByObjects";
@"FreeSql: Method not found DbSet<>.StatesRemoveByObjects";
/// <summary>
/// 参数 data 类型错误 {entityTypeFullName}
/// </summary>
Expand Down
17 changes: 0 additions & 17 deletions FreeSql.DbContext/FreeSql.DbContext.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1f21dd7

Please sign in to comment.