19 lines
590 B
C#
19 lines
590 B
C#
using System.Data.Entity;
|
|
|
|
namespace CRM.Core.Model.EntitySoft
|
|
{
|
|
public class SoftContext : DbContext
|
|
{
|
|
public SoftContext() : base(ConStringHelper.GetDbConnection(ConStringHelper.SoftConn), true)
|
|
{
|
|
Database.SetInitializer<SoftContext>(null);
|
|
}
|
|
|
|
public virtual DbSet<T_Product> T_Product { get; set; }
|
|
public virtual DbSet<T_Product_Package> T_Product_Package { get; set; }
|
|
public virtual DbSet<T_Module> T_Module { get; set; }
|
|
public virtual DbSet<Wx_CanOpenGifOrder> Wx_CanOpenGifOrder { get; set; }
|
|
}
|
|
|
|
|
|
} |