internal EntityDatabaseContextPreparedSelect(EntityDatabaseConnection Connection, IsolationLevel Isolation, string CommandText, TParameter Parameter)
 {
     parameter   = Parameter;
     isolation   = Isolation;
     connection  = Connection;
     commandText = CommandText;
 }
        internal EntityDatabaseContextSelect(EntityDatabaseConnection Connection, IsolationLevel Isolation, string CommandText, TEntityContext Context)
        {
            context     = Context;
            isolation   = Isolation;
            connection  = Connection;
            commandText = CommandText;

            selects = new List <(Type, EntityDatabaseReader, Select)>();
        }
示例#3
0
 internal DatabaseSelect(EntityDatabaseConnection Connection, string CommandText)
 {
     connection  = Connection;
     commandText = CommandText;
 }
 internal EntityDatabaseWriterInsert(EntityDatabaseConnection Connection) : base(Connection)
 {
 }
示例#5
0
 public EntitySavingEventArgs(EntityContext <TEntityContext> context, EntityDatabaseConnection connection, Entity entity) : base(context, connection)
 {
     Entity = entity;
 }
示例#6
0
 public SaveEventArgs(EntityContext <TEntityContext> context, EntityDatabaseConnection connection)
 {
     Context    = context;
     Connection = connection;
 }
示例#7
0
 public EntitySavedEventArgs(EntityContext <TEntityContext> context, EntityDatabaseConnection connection, Entity entity, EntityState state) : base(context, connection)
 {
     State  = state;
     Entity = entity;
 }
示例#8
0
 internal DatabasePreparedSelect(EntityDatabaseConnection Connection, TParameter Parameter)
 {
     parameter  = Parameter;
     connection = Connection;
 }
示例#9
0
 internal EntityDatabaseDelete(EntityDatabaseConnection Connection) => connection = Connection;
示例#10
0
 private protected EntityDatabaseWriter(EntityDatabaseConnection Connection) => this.Connection = Connection;
示例#11
0
 internal DatabaseAdhocQuery(EntityDatabaseConnection Connection, TParameter Parameter)
 {
     parameter  = Parameter;
     connection = Connection;
 }
示例#12
0
 internal EntityDatabaseUpdate(EntityDatabaseConnection Connection) => connection = Connection;
示例#13
0
 internal EntityDatabaseAdhoc(EntityDatabaseConnection Connection, IsolationLevel Isolation)
 {
     isolation  = Isolation;
     connection = Connection;
 }
示例#14
0
 internal EntityDatabaseAdhocSelect(EntityDatabaseConnection Connection, IsolationLevel Isolation, string CommandText)
 {
     isolation   = Isolation;
     connection  = Connection;
     commandText = CommandText;
 }
示例#15
0
 internal EntityDatabaseInsert(EntityDatabaseConnection Connection) => connection = Connection;
示例#16
0
 internal EntityDatabaseContextTransaction(EntityDatabaseConnection Connection, IsolationLevel Isolation)
 {
     isolation  = Isolation;
     connection = Connection;
 }
示例#17
0
 internal EntityDatabaseAdhocSelect(EntityDatabaseConnection Connection, TParameter Parameter)
 {
     parameter  = Parameter;
     connection = Connection;
 }
示例#18
0
 internal EntityDatabaseWriterDelete(EntityDatabaseConnection Connection) : base(Connection)
 {
 }