SqlSugar源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
455 B

6 years ago
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
namespace OrmTest
{
6 years ago
[Table(Name = "MyAttributeTable")]
6 years ago
//[SugarTable("CustomAttributeTable")]
6 years ago
public class AttributeTable
6 years ago
{
[Key]
//[SugarColumn(IsPrimaryKey =true)]
public string Id { get; set; }
public string Name { get; set; }
}
}