Exemple #1
0
        public void Generate()
        {
            var Temp = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
            IGenerator <Dynamo> Generator = Temp.Generate <Dynamo>(TestDatabaseSource, new Utilities.ORM.Manager.Mapper.Manager(Utilities.IoC.Manager.Bootstrapper.ResolveAll <IMapping>())[typeof(Dynamo), TestDatabaseSource], null);

            Assert.Equal(typeof(Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPGenerator <Dynamo>), Generator.GetType());
        }
        public LDAPGenerator()
        {
            var Temp = new Utilities.ORM.Manager.Mapper.Manager(Utilities.IoC.Manager.Bootstrapper.ResolveAll <IMapping>());

            QueryProvider = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
            Generator     = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPGenerator <Dynamo>(QueryProvider, LDAPSource, Temp[typeof(Dynamo), LDAPSource]);
        }
Exemple #3
0
        public void Create()
        {
            var Temp = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();

            Assert.NotNull(Temp);
            Assert.Equal("LDAP", Temp.ProviderName);
        }
 public void Batch()
 {
     var Temp = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
     var Batch = Temp.Batch(TestDatabaseSource);
     Assert.Equal(0, Batch.CommandCount);
     Assert.Equal(typeof(Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch), Batch.GetType());
 }
Exemple #5
0
        public void Batch()
        {
            var    Temp  = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
            IBatch Batch = Temp.Batch(TestDatabaseSource);

            Assert.Equal(0, Batch.CommandCount);
            Assert.Equal(typeof(Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPBatch), Batch.GetType());
        }
 public void Generate()
 {
     var Temp = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
     var Generator = Temp.Generate<Dynamo>(TestDatabaseSource, new Utilities.ORM.Manager.Mapper.Manager(Utilities.IoC.Manager.Bootstrapper.ResolveAll<IMapping>())[typeof(Dynamo), TestDatabaseSource], null);
     Assert.Equal(typeof(Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPGenerator<Dynamo>), Generator.GetType());
 }
 public void Create()
 {
     var Temp = new Utilities.ORM.Manager.QueryProvider.Default.LDAP.LDAPQueryProvider();
     Assert.NotNull(Temp);
     Assert.Equal("LDAP", Temp.ProviderName);
 }