Update Demo

This commit is contained in:
sunkaixuan
2019-05-06 14:59:50 +08:00
parent bf20bc3e37
commit 2566f24e2d
2 changed files with 1 additions and 1 deletions

View File

@@ -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; }
}
}