Skip to content

Commit df6b782

Browse files
committed
Merge branch 'dev/snow' of https://github.com/dotnetcore/osharp into dev/snow
2 parents 350e123 + 58744ee commit df6b782

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

samples/web/Liuliu.Demo.WebApi/Startups/MySqlDefaultDbContextMigrationPack.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// <last-editor>郭明锋</last-editor>
77
// <last-date>2018-08-13 20:35</last-date>
88
// -----------------------------------------------------------------------
9-
#if NET6_0
9+
1010
using System;
1111
using System.ComponentModel;
1212

@@ -45,5 +45,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
4545
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
4646
}
4747
}
48-
}
49-
#endif
48+
}

samples/web/Liuliu.Demo.WebApi/Startups/OracleDefaultDbContextMigrationPack.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// <last-date>2019-04-18 20:57</last-date>
88
// -----------------------------------------------------------------------
99

10-
#if NET6_0
1110

1211
using System;
1312
using System.ComponentModel;
@@ -47,5 +46,4 @@ protected override DefaultDbContext CreateDbContext(IServiceProvider scopedProvi
4746
return new DesignTimeDefaultDbContextFactory(scopedProvider).CreateDbContext(new string[0]);
4847
}
4948
}
50-
}
51-
#endif
49+
}

src/OSharp.EntityFrameworkCore.Oracle/OSharp.EntityFrameworkCore.Oracle.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Import Project="../../build/version.props" />
55

66
<PropertyGroup>
7-
<TargetFrameworks>net6.0</TargetFrameworks>
7+
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
88
<PackageId>OSharp.EntityFrameworkCore.Oracle</PackageId>
99
<Description>OSharp 数据访问组件,封装EntityFrameworkCore的Oracle数据访问功能的实现</Description>
1010
<Summary>OSharp 数据访问组件Oracle</Summary>
@@ -17,6 +17,9 @@
1717
<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
1818
<PackageReference Include="Oracle.EntityFrameworkCore" Version="[7.21.11, 8.0.0)" />
1919
</ItemGroup>
20+
<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
21+
<PackageReference Include="Oracle.EntityFrameworkCore" Version="[7.21.8, 8.0.0)" />
22+
</ItemGroup>
2023
<ItemGroup>
2124
<ProjectReference Include="..\OSharp.EntityFrameworkCore\OSharp.EntityFrameworkCore.csproj" />
2225
</ItemGroup>

src/OSharp/Authorization/EntityInfos/EntityInfoBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public abstract class EntityInfoBase : EntityBase<long>, IEntityInfo
3636
/// <summary>
3737
/// 获取或设置 实体属性信息JSON字符串
3838
/// </summary>
39-
[DisplayName("实体属性信息Json字符串"), Required, StringLength(5000)]
39+
[DisplayName("实体属性信息Json字符串"), Required]
4040
public string PropertyJson { get; set; }
4141

4242
/// <summary>

0 commit comments

Comments
 (0)