public static void Register() { InternalDriver drv = new InternalDriver (typeof(ClassFactory) , "Provider=OraOLEDB.Oracle.1;Password=myPassword;Persist Security Info=True;User ID=myID;Data Source=myDataSource" , true); drv.RequiredDatabaseName = true; InternalDriver.Register("ORACLE",drv); }
public static void Register() { InternalDriver drv = new InternalDriver (typeof(ClassFactory) , "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Northwind;Data Source=localhost" , true); drv.RequiredDatabaseName = true; InternalDriver.Register("SQL", drv); }
public static void Register() { InternalDriver drv = new InternalDriver (typeof(ClassFactory) , "Provider=MySQLProv;Persist Security Info=True;Data Source=test;UID=myUser;PWD=myPassword;PORT=3306" , true); drv.StripTrailingNulls = true; drv.RequiredDatabaseName = true; InternalDriver.Register("MYSQL",drv); }
public static void Register() { InternalDriver drv = new InternalDriver (typeof(ClassFactory) , "Database=Test;Data Source=Griffo;User Id=anonymous;Password=;" , false); drv.StripTrailingNulls = true; drv.RequiredDatabaseName = true; InternalDriver.Register("MYSQL2", drv); }
public static void Register() { InternalDriver drv = new InternalDriver (typeof(ClassFactory) , "Database=Joomla_2.5.0_Beta2-Full_Package;Data Source=localhost;User Id=root;Password=;" , false); drv.StripTrailingNulls = true; drv.RequiredDatabaseName = true; InternalDriver.Register("MYSQL2", drv); }
public static InternalDriver Register(string driverId, InternalDriver driver) { internalDrivers[driverId] = driver; driver.driverId = driverId; return driver; }
public static InternalDriver Register(string driverId, InternalDriver driver) { internalDrivers[driverId] = driver; driver.driverId = driverId; return(driver); }