示例#1
0
        public Repository()
        {
            IContainer container = ModuleWcf.BuildContainer();

            AutofacHostFactory.Container = container;

            db = new ProjectCrudWcfEntities();
        }
示例#2
0
 public Repository(ProjectCrudWcfEntities db)
 {
     this.db = db;
 }