mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修改 StringLength/MaxLength 对 Oracle varchar2 类型无效的 bug;
This commit is contained in:
@ -10,6 +10,18 @@ namespace FreeSql.Tests.Odbc.Oracle
|
||||
{
|
||||
public class OracleCodeFirstTest
|
||||
{
|
||||
[Fact]
|
||||
public void StringLength()
|
||||
{
|
||||
var dll = g.oracle.CodeFirst.GetComparisonDDLStatements<TS_SLTB>();
|
||||
g.oracle.CodeFirst.SyncStructure<TS_SLTB>();
|
||||
}
|
||||
class TS_SLTB
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
[Column(StringLength = 50)]
|
||||
public string Title { get; set; }
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void <EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>_<EFBFBD>ֶ<EFBFBD>()
|
||||
|
Reference in New Issue
Block a user