public void GenerateSchema() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.SourceProvider.Manager>()); ISource Source = Temp.GetSourceStructure(TestDatabaseSource); Assert.Null(Source); }
public void TableExists() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.SourceProvider.Manager>()); Assert.False(Temp.TableExists("TestTable", TestDatabaseSource)); }
public void Create() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve <Utilities.ORM.Manager.SourceProvider.Manager>()); Assert.Equal("LDAP", Temp.ProviderName); }
public void TableExists() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.SourceProvider.Manager>()); Assert.False(Temp.TableExists("TestTable", TestDatabaseSource)); }
public void GenerateSchema() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.SourceProvider.Manager>()); ISource Source = Temp.GetSourceStructure(TestDatabaseSource); Assert.Null(Source); }
public void Create() { var Temp = new Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator(Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.QueryProvider.Manager>(), Utilities.IoC.Manager.Bootstrapper.Resolve<Utilities.ORM.Manager.SourceProvider.Manager>()); Assert.Equal("LDAP", Temp.ProviderName); }