Пример #1
0
 public AccountController()
 {
     _accountModel = ObjectFactory.GetInstance<AccountModel>();
 }
 public CreateHuntController()
 {
     _accountModel = ObjectFactory.GetInstance<AccountModel>();
     _huntModel = ObjectFactory.GetInstance<HuntModel>();
 }
Пример #3
0
 public void Init()
 {
     _model = new AccountModel(new EntityModelContainer(@"metadata=res://*/EntityModel.csdl|res://*/EntityModel.ssdl|res://*/EntityModel.msl;provider=System.Data.SqlServerCe.3.5;provider connection string=""Data Source=|DataDirectory|\ComputeMidwest.sdf"""));
 }