sunkaixuan
6 years ago
5 changed files with 83 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
|
|||
namespace OrmTest.Demo |
|||
{ |
|||
class Demo2_Queryable |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,20 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using System.Data.Linq.Mapping; |
|||
using System.Linq; |
|||
using System.Text; |
|||
|
|||
namespace OrmTest |
|||
{ |
|||
[Table(Name = "CustomAttributeTable")] |
|||
//[SugarTable("CustomAttributeTable")]
|
|||
public class MyCustomAttributeTable |
|||
{ |
|||
|
|||
[Key] |
|||
//[SugarColumn(IsPrimaryKey =true)]
|
|||
public string Id { get; set; } |
|||
public string Name { get; set; } |
|||
} |
|||
} |
Binary file not shown.
Loading…
Reference in new issue