mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 修改 StringLength/MaxLength 对 Oracle varchar2 类型无效的 bug;
This commit is contained in:
		@@ -204,7 +204,7 @@ namespace FreeSql.Internal
 | 
			
		||||
                if (colattr.MapType == typeof(string) && colattr.StringLength != 0)
 | 
			
		||||
                {
 | 
			
		||||
                    int strlen = colattr.StringLength;
 | 
			
		||||
                    var charPatten = @"(CHAR|CHAR2|CHARACTER)\s*(\([^\)]*\))?";
 | 
			
		||||
                    var charPatten = @"(CHARACTER|CHAR2|CHAR)\s*(\([^\)]*\))?";
 | 
			
		||||
                    switch (common._orm.Ado.DataType)
 | 
			
		||||
                    {
 | 
			
		||||
                        case DataType.MySql:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user