protected virtual void AddTableOrViewCommand(Pipe.CManagedComponentWrapper ComponentWrapper)
        {
            ComponentWrapper.SetComponentProperty("OpenRowset", TableOrViewName);

            ComponentWrapper.SetComponentProperty("DefaultCodePage", 65001);
            ComponentWrapper.SetComponentProperty("CommandTimeout", 0);
            ComponentWrapper.SetComponentProperty("AlwaysUseDefaultCodePage", false);
        }
Esempio n. 2
0
 protected override void AddTableOrViewCommand(Pipe.CManagedComponentWrapper ComponentWrapper)
 {
     ComponentWrapper.SetComponentProperty("AccessMode", OLEDBDestinationAccessMode.OpenRowsetUsingFastload);
     base.AddTableOrViewCommand(ComponentWrapper);
     if (HasFastLoadOptions)
     {
         ComponentWrapper.SetComponentProperty("FastLoadOptions", string.Join(",", FastLoadOptions.ToArray()));
     }
     ComponentWrapper.SetComponentProperty("FastLoadKeepIdentity", false);
     ComponentWrapper.SetComponentProperty("FastLoadKeepNulls", false);
     ComponentWrapper.SetComponentProperty("FastLoadMaxInsertCommitSize", 2147483647);
 }
 protected override void AddTableOrViewCommand(Pipe.CManagedComponentWrapper ComponentWrapper)
 {
     ComponentWrapper.SetComponentProperty("AccessMode", OLEDBSourceAccessMode.OpenRowset);
     base.AddTableOrViewCommand(ComponentWrapper);
 }
 protected virtual void AddSqlCommand(Pipe.CManagedComponentWrapper ComponentWrapper)
 {
     ComponentWrapper.SetComponentProperty("SqlCommand", SqlCommand);
     ComponentWrapper.SetComponentProperty("AccessMode", 2);
 }