SqlSugar/Src/Asp.Net/SqliteTest/Models/EntityMapper.cs

16 lines
319 B
C#
Raw Normal View History

2017-07-09 00:34:56 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2019-06-04 15:28:13 +08:00
using SqlSugar;
namespace OrmTest
2017-07-09 00:34:56 +08:00
{
2019-06-04 15:28:13 +08:00
[SugarTable("MyEntityMapper")]
public class EntityMapper
2017-07-09 00:34:56 +08:00
{
2019-06-04 15:28:13 +08:00
[SugarColumn(ColumnName ="MyName")]
2017-07-09 00:34:56 +08:00
public string Name { get; set; }
}
}