SqlSugar/Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Models/EntityMapper.cs

16 lines
319 B
C#
Raw Normal View History

2017-08-24 16:18:44 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2019-06-04 21:09:53 +08:00
using SqlSugar;
namespace OrmTest
2017-08-24 16:18:44 +08:00
{
2019-06-04 21:09:53 +08:00
[SugarTable("MyEntityMapper")]
public class EntityMapper
2017-08-24 16:18:44 +08:00
{
2019-06-04 21:09:53 +08:00
[SugarColumn(ColumnName ="MyName")]
2017-08-24 16:18:44 +08:00
public string Name { get; set; }
}
}