コード例 #1
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<ConfigurationSettingColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ConfigurationSetting OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #2
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;ServiceRegistryDescriptorColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ServiceRegistryDescriptorCollection Where(QiQuery where, Database database = null)
        {
            var results = new ServiceRegistryDescriptorCollection(database, Select <ServiceRegistryDescriptorColumns> .From <ServiceRegistryDescriptor>().Where(where, database));

            return(results);
        }
コード例 #3
0
 public static DaoReferenceObjectWithForeignKeyCollection Where(QiQuery where, Database db = null)
 {
     return(new DaoReferenceObjectWithForeignKeyCollection(Select <DaoReferenceObjectWithForeignKeyColumns> .From <DaoReferenceObjectWithForeignKey>().Where(where, db)));
 }
コード例 #4
0
ファイル: BuildJob.cs プロジェクト: ThreeHeadz/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<BuildJobColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static BuildJob OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #5
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate`DaoReferenceObjectColumns`.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DaoReferenceObjectCollection Where(QiQuery where, Database database = null)
        {
            var results = new DaoReferenceObjectCollection(database, Select <DaoReferenceObjectColumns> .From <DaoReferenceObject>().Where(where, database));

            return(results);
        }
コード例 #6
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;ConfigurationColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ConfigurationCollection Where(QiQuery where, Database database = null)
        {
            var results = new ConfigurationCollection(database, Select <ConfigurationColumns> .From <Configuration>().Where(where, database));

            return(results);
        }
コード例 #7
0
ファイル: TestExecution.cs プロジェクト: dekkerb115/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<TestExecutionColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static TestExecution OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #8
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;AsyncExecutionResponseDataColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static AsyncExecutionResponseDataCollection Where(QiQuery where, Database database = null)
        {
            var results = new AsyncExecutionResponseDataCollection(database, Select <AsyncExecutionResponseDataColumns> .From <AsyncExecutionResponseData>().Where(where, database));

            return(results);
        }
コード例 #9
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<AsyncExecutionResponseDataColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static AsyncExecutionResponseData OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #10
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<OrganizationUserColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static OrganizationUser OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #11
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<RetrieveOperationColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static RetrieveOperation OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #12
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;OrganizationUserColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static OrganizationUserCollection Where(QiQuery where, Database database = null)
        {
            var results = new OrganizationUserCollection(database, Select <OrganizationUserColumns> .From <OrganizationUser>().Where(where, database));

            return(results);
        }
コード例 #13
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;PasswordColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static PasswordCollection Where(QiQuery where, Database database = null)
        {
            var results = new PasswordCollection(database, Select <PasswordColumns> .From <Password>().Where(where, database));

            return(results);
        }
コード例 #14
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;JobRunDataColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static JobRunDataCollection Where(QiQuery where, Database database = null)
        {
            var results = new JobRunDataCollection(database, Select <JobRunDataColumns> .From <JobRunData>().Where(where, database));

            return(results);
        }
コード例 #15
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;DynamicNamespaceDescriptorColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DynamicNamespaceDescriptorCollection Where(QiQuery where, Database database = null)
        {
            var results = new DynamicNamespaceDescriptorCollection(database, Select <DynamicNamespaceDescriptorColumns> .From <DynamicNamespaceDescriptor>().Where(where, database));

            return(results);
        }
コード例 #16
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;ReplicationOperationColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ReplicationOperationCollection Where(QiQuery where, Database database = null)
        {
            var results = new ReplicationOperationCollection(database, Select <ReplicationOperationColumns> .From <ReplicationOperation>().Where(where, database));

            return(results);
        }
コード例 #17
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<DynamicNamespaceDescriptorColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DynamicNamespaceDescriptor OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #18
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;HostDomainApplicationColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static HostDomainApplicationCollection Where(QiQuery where, Database database = null)
        {
            var results = new HostDomainApplicationCollection(database, Select <HostDomainApplicationColumns> .From <HostDomainApplication>().Where(where, database));

            return(results);
        }
コード例 #19
0
ファイル: TestExecution.cs プロジェクト: dekkerb115/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;TestExecutionColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static TestExecutionCollection Where(QiQuery where, Database database = null)
        {
            var results = new TestExecutionCollection(database, Select <TestExecutionColumns> .From <TestExecution>().Where(where, database));

            return(results);
        }
コード例 #20
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<HostDomainApplicationColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static HostDomainApplication OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #21
0
ファイル: BuildJob.cs プロジェクト: ThreeHeadz/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;BuildJobColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static BuildJobCollection Where(QiQuery where, Database database = null)
        {
            var results = new BuildJobCollection(database, Select <BuildJobColumns> .From <BuildJob>().Where(where, database));

            return(results);
        }
コード例 #22
0
ファイル: Event.cs プロジェクト: ThreeHeadz/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;EventColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static EventCollection Where(QiQuery where, Database database = null)
        {
            var results = new EventCollection(database, Select <EventColumns> .From <Event>().Where(where, database));

            return(results);
        }
コード例 #23
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<CartColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="db"></param>
        public static Cart OneWhere(QiQuery where, Database db = null)
        {
            var results = new CartCollection(db, Select <CartColumns> .From <Cart>().Where(where, db));

            return(OneOrThrow(results));
        }
コード例 #24
0
ファイル: DirectMessage.cs プロジェクト: dekkerb115/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;DirectMessageColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DirectMessageCollection Where(QiQuery where, Database database = null)
        {
            var results = new DirectMessageCollection(database, Select <DirectMessageColumns> .From <DirectMessage>().Where(where, database));

            return(results);
        }
コード例 #25
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate`DaoReferenceObjectColumns`.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DaoReferenceObject OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #26
0
ファイル: DirectMessage.cs プロジェクト: dekkerb115/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<DirectMessageColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static DirectMessage OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #27
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate<ServiceRegistryDescriptorColumns>.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ServiceRegistryDescriptor OneWhere(QiQuery where, Database database = null)
        {
            var results = Top(1, where, database);

            return(OneOrThrow(results));
        }
コード例 #28
0
ファイル: Login.cs プロジェクト: dekkerb115/Bam.Net
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;LoginColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static LoginCollection Where(QiQuery where, Database database = null)
        {
            var results = new LoginCollection(database, Select <LoginColumns> .From <Login>().Where(where, database));

            return(results);
        }
コード例 #29
0
        public static DaoReferenceObjectWithForeignKey OneWhere(QiQuery where, Database db = null)
        {
            var results = new DaoReferenceObjectWithForeignKeyCollection(Select <DaoReferenceObjectWithForeignKeyColumns> .From <DaoReferenceObjectWithForeignKey>().Where(where, db));

            return(OneOrThrow(results));
        }
コード例 #30
0
        /// <summary>
        /// This method is intended to respond to client side Qi queries.
        /// Use of this method from .Net should be avoided in favor of
        /// one of the methods that take a delegate of type
        /// WhereDelegate&lt;ApiKeyColumns&gt;.
        /// </summary>
        /// <param name="where"></param>
        /// <param name="database"></param>
        public static ApiKeyCollection Where(QiQuery where, Database database = null)
        {
            var results = new ApiKeyCollection(database, Select <ApiKeyColumns> .From <ApiKey>().Where(where, database));

            return(results);
        }