mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 增加 MaxLength 特性的解析,实体字符串长度设置;
This commit is contained in:
		@@ -54,7 +54,7 @@ namespace orm_vs
 | 
			
		||||
            {
 | 
			
		||||
                testlist2.AddRange(list);
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            
 | 
			
		||||
            fsql.CodeFirst.SyncStructure(typeof(Song), typeof(Song_tag), typeof(Tag));
 | 
			
		||||
            //sugar.CodeFirst.InitTables(typeof(Song), typeof(Song_tag), typeof(Tag));
 | 
			
		||||
            //sugar创建表失败:SqlSugar.SqlSugarException: Sequence contains no elements
 | 
			
		||||
@@ -76,7 +76,7 @@ namespace orm_vs
 | 
			
		||||
            Insert(sb, 1000, 10);
 | 
			
		||||
            Console.Write(sb.ToString());
 | 
			
		||||
            sb.Clear();
 | 
			
		||||
 | 
			
		||||
            
 | 
			
		||||
            Insert(sb, 1, 1000);
 | 
			
		||||
            Console.Write(sb.ToString());
 | 
			
		||||
            sb.Clear();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user