using NFine.Domain.Entity.SystemManage;using System.Data.Entity.ModelConfiguration; namespace NFine.Mapping.SystemManage{ public class CustomerMap : EntityTypeConfiguration<CustomerEntity> { public CustomerMap() { this.ToTable("Sys_SRM_Customer"); this.HasKey(t => t.F_Id); } }}
using NFine.Domain.Entity.SystemManage;
using System.Data.Entity.ModelConfiguration;
namespace NFine.Mapping.SystemManage
{
public class CustomerMap : EntityTypeConfiguration<CustomerEntity>
public CustomerMap()
this.ToTable("Sys_SRM_Customer");
this.HasKey(t => t.F_Id);
}