mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 01:05:27 +08:00 
			
		
		
		
	- 合并 FreeSql.DbContext 项目至 FreeSql 维护;
This commit is contained in:
		
							
								
								
									
										11
									
								
								Examples/repository_01/Entitys/Song.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Examples/repository_01/Entitys/Song.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
using FreeSql.DataAnnotations;
 | 
			
		||||
using repository_01;
 | 
			
		||||
 | 
			
		||||
namespace restful.Entitys {
 | 
			
		||||
	public class Song {
 | 
			
		||||
 | 
			
		||||
		[Column(IsIdentity = true)]
 | 
			
		||||
		public int Id { get; set; }
 | 
			
		||||
		public string Title { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user