添加项目文件。
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using DapperExtensions.Mapper;
|
||||
using JY.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.DAL.Mapper
|
||||
{
|
||||
/// <summary>
|
||||
/// ProdModel表映射,实体名和表名不一样实现映射
|
||||
/// </summary>
|
||||
public class ProductModelMapping : ClassMapper<ProductModel>
|
||||
{
|
||||
public ProductModelMapping()
|
||||
{
|
||||
Table("tb_ProdModel");
|
||||
AutoMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user