mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	测试DynamicCompileBuilder - SuperClassVirtualOverride
This commit is contained in:
		@@ -106,7 +106,7 @@ namespace FreeSql.Tests.DynamicEntity
 | 
				
			|||||||
                    new ColumnAttribute() { IsPrimary = true, IsIdentity = true, Position = 1 })
 | 
					                    new ColumnAttribute() { IsPrimary = true, IsIdentity = true, Position = 1 })
 | 
				
			||||||
                .Property("Name", typeof(string),
 | 
					                .Property("Name", typeof(string),
 | 
				
			||||||
                    new ColumnAttribute() { StringLength = 20, Position = 2 })
 | 
					                    new ColumnAttribute() { StringLength = 20, Position = 2 })
 | 
				
			||||||
                .Property("Operators", typeof(string), true) //重写 virtual 属性
 | 
					                .Property("Operators", typeof(string), true,new ColumnAttribute() { StringLength = 20} ) //重写 virtual 属性
 | 
				
			||||||
                .Build();
 | 
					                .Build();
 | 
				
			||||||
            var dict = new Dictionary<string, object>
 | 
					            var dict = new Dictionary<string, object>
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user