예제 #1
0
        public AllMessageFac(ICurrentContextFactory conFac, SqlCon con, SqlCon appcon)
        {
            this.conFac = conFac;
            this.con    = con;

            this.appcon = appcon;
        }
예제 #2
0
        public DynamicContext(String connectiongString, Soway.Model.Context.ICurrentContextFactory fac)
        {
            this.Fac    = fac;
            this.ConStr = connectiongString;
            var builder = new System.Data.SqlClient.SqlConnectionStringBuilder(this.ConStr);

            this.SqlCon = new SqlCon()
            {
                DataSource         = builder.DataSource,
                InitialCatalog     = builder.InitialCatalog,
                IntegratedSecurity = builder.IntegratedSecurity,
                IsLocal            = false,
                Password           = builder.Password,
                UserID             = builder.UserID
            };
        }
예제 #3
0
 public AutoViewFactory(SqlCon con, Context.ICurrentContextFactory conFac)
 {
     this.Con    = con;
     this.ConFac = ConFac;
 }
예제 #4
0
 public UserMessageFacotry(ICurrentContextFactory conFac, SqlCon con)
 {
     this.conFac = conFac;
     this.con    = con;
 }
예제 #5
0
 public CompanyMessageFactory(ICurrentContextFactory conFac, SqlCon con)
 {
     this.conFac = conFac;
     this.con    = con;
 }
예제 #6
0
 public dbContext(SqlCon con, Context.ICurrentContextFactory conFac)
 {
     sqlCon = con;
     ConFac = conFac;
 }
예제 #7
0
 //public SqlCon SqlCon;
 public SqlServerModuleInstaller(Context.ICurrentContextFactory conFac)
 {
     this.ConFac = conFac;
 }
예제 #8
0
 public DepMessageFactory(ICurrentContextFactory conFac, SqlCon con) : this(conFac)
 {
     this.con = con;
 }
예제 #9
0
 public EventFactory(ICurrentContextFactory conFac, Soway.Model.SqlCon con)
 {
     this.conFac = conFac;
     this.model  = ModelFac.Models.First(p => p.ClassName == "Soway.Event.Event");
     this.con    = con;
 }
예제 #10
0
 public ListViewQueryContext(SqlCon con, Context.ICurrentContextFactory conFac)
 {
     this.Con    = con;
     this.ConFac = conFac;
 }
예제 #11
0
 public SqlServerModelFactory(Soway.Model.SqlCon con, Context.ICurrentContextFactory conFac)
 {
     this.Con    = con;
     this.ConFac = conFac;
 }
예제 #12
0
 public GetValueExpression(Context.ICurrentContextFactory confac)
 {
     this.ContextFac = confac;
 }
예제 #13
0
 public ObjectContext(Soway.Model.SqlCon sqlCon, Context.ICurrentContextFactory conFac)
 {
     Model       = new Soway.Model.AssemblyModelFactory(typeof(T).Assembly).GetModel(typeof(T));
     this.ConFac = conFac;
     this.SqlCon = sqlCon;
 }
예제 #14
0
 public AppManager(Soway.Model.SqlCon con, Soway.Model.Context.ICurrentContextFactory conFac)
 {
     this.Con    = con;
     this.ConFac = conFac;
 }
예제 #15
0
 public LoginFactory(Soway.Model.SqlCon con, Soway.Model.Context.ICurrentContextFactory conFac)
 {
     this.Con    = con;
     this.ConFac = conFac;
 }
예제 #16
0
 public DepMessageFactory(Soway.Model.Context.ICurrentContextFactory conFac)
 {
     this.conFac = conFac;
 }
예제 #17
0
 public ModelMethodContext(SqlCon con, Soway.Model.Context.ICurrentContextFactory conFac)
 {
     this.Con        = con;
     this.ContextFac = conFac;
 }
예제 #18
0
 public EventMakeService(Soway.Model.Context.ICurrentContextFactory fac)
 {
     this.sleepMiliseconds = 60 * 1000;
     this.conFac           = fac;
 }