Ejemplo n.º 1
0
 public void MapTo(IDbContextData optionUser)
 {
     if (Connection != null)
     {
         optionUser.Connection = Connection;
     }
     if (Transaction != null)
     {
         optionUser.Transaction = Transaction;
     }
     if (DataStorageController != null)
     {
         optionUser.DataStorageController = DataStorageController;
     }
     if (CommandOptions != 0)
     {
         optionUser.CommandOptions = CommandOptions;
     }
     if (Buffering != 0)
     {
         optionUser.Buffering = Buffering;
     }
     if (Reconnect != 0)
     {
         optionUser.Reconnect = Reconnect;
     }
 }
Ejemplo n.º 2
0
 public void MapTo(IDbContextData optionUser)
 {
     if (Connection != null)
     {
         optionUser.Connection = Connection;
     }
     if (Transaction != null)
     {
         optionUser.Transaction = Transaction;
     }
     if (DataStorageController != null)
     {
         optionUser.DataStorageController = DataStorageController;
     }
     if (CommandOptions != 0)
     {
         optionUser.CommandOptions = CommandOptions;
     }
     if (Buffering != 0)
     {
         optionUser.Buffering = Buffering;
     }
     if (Reconnect != 0)
     {
         optionUser.Reconnect = Reconnect;
     }
 }