/// <summary> /// Gets entities where RowUpdatedUtc matches the given specification. /// </summary> /// <remarks> /// Created for column <c>RowUpdatedUtc</c> /// </remarks> public static ResourceCollection GetByRowUpdatedUtc(System.DateTime rowUpdatedUtc, BootFX.Common.Data.SqlOperator rowUpdatedUtcOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("RowUpdatedUtc", rowUpdatedUtcOperator, rowUpdatedUtc); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets the <see cref="Country"/> entity with the given ID. /// </summary> /// <bootfx> /// CreateEntityFilterEqualToMethod - Country /// </bootfx> public static Country GetById(int countryId, BootFX.Common.OnNotFound onNotFound) { return AmxMobile.Services.Country.GetById(countryId, BootFX.Common.Data.SqlOperator.EqualTo, onNotFound); }
/// <summary> /// Gets an entity where Name is equal to the given value. /// </summary> /// <remarks> /// Created for index <c>Countries_Name</c>. /// </remarks> public static Country GetByName(string name, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Country)); filter.Constraints.Add("Name", BootFX.Common.Data.SqlOperator.EqualTo, name); Country results = ((Country)(filter.ExecuteEntity())); return results; }
/// <summary> /// Gets entities where Address2 matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Address2</c> /// </remarks> public static ApiKeyCollection GetByAddress2(string address2, BootFX.Common.Data.SqlOperator address2Operator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Address2", address2Operator, address2); return ((ApiKeyCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets entities where City matches the given specification. /// </summary> /// <remarks> /// Created for column <c>City</c> /// </remarks> public static ApiKeyCollection GetByCity(string city, BootFX.Common.Data.SqlOperator cityOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("City", cityOperator, city); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where Subscribe matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Subscribe</c> /// </remarks> public static ApiKeyCollection GetBySubscribe(bool subscribe, BootFX.Common.Data.SqlOperator subscribeOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Subscribe", subscribeOperator, subscribe); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where LastName matches the given specification. /// </summary> /// <remarks> /// Created for column <c>LastName</c> /// </remarks> public static ApiKeyCollection GetByLastName(string lastName, BootFX.Common.Data.SqlOperator lastNameOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("LastName", lastNameOperator, lastName); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where CurrentMobileClientName matches the given specification. /// </summary> /// <remarks> /// Created for column <c>CurrentMobileClientName</c> /// </remarks> public static ResourceCollection GetByCurrentMobileClientName(string currentMobileClientName, BootFX.Common.Data.SqlOperator currentMobileClientNameOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("CurrentMobileClientName", currentMobileClientNameOperator, currentMobileClientName); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where ForceCodeCapture matches the given specification. /// </summary> /// <remarks> /// Created for column <c>ForceCodeCapture</c> /// </remarks> public static ResourceCollection GetByForceCodeCapture(bool forceCodeCapture, BootFX.Common.Data.SqlOperator forceCodeCaptureOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("ForceCodeCapture", forceCodeCaptureOperator, forceCodeCapture); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where ContractGroupId matches the given specification. /// </summary> /// <remarks> /// Created for column <c>ContractGroupId</c> /// </remarks> public static ResourceCollection GetByContractGroupId(int contractGroupId, BootFX.Common.Data.SqlOperator contractGroupIdOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("ContractGroupId", contractGroupIdOperator, contractGroupId); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where TargetMobileClientName matches the given specification. /// </summary> /// <remarks> /// Created for column <c>TargetMobileClientName</c> /// </remarks> public static ResourceCollection GetByTargetMobileClientName(string targetMobileClientName, BootFX.Common.Data.SqlOperator targetMobileClientNameOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("TargetMobileClientName", targetMobileClientNameOperator, targetMobileClientName); return ((ResourceCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets entities where SecurityGroupId matches the given specification. /// </summary> /// <remarks> /// Created for column <c>SecurityGroupId</c> /// </remarks> public static ResourceCollection GetBySecurityGroupId(int securityGroupId, BootFX.Common.Data.SqlOperator securityGroupIdOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("SecurityGroupId", securityGroupIdOperator, securityGroupId); return ((ResourceCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets entities where RowLastTransactionId matches the given specification. /// </summary> /// <remarks> /// Created for column <c>RowLastTransactionId</c> /// </remarks> public static ResourceCollection GetByRowLastTransactionId(System.Guid rowLastTransactionId, BootFX.Common.Data.SqlOperator rowLastTransactionIdOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("RowLastTransactionId", rowLastTransactionIdOperator, rowLastTransactionId); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where RowUpdatedUserId matches the given specification. /// </summary> /// <remarks> /// Created for column <c>RowUpdatedUserId</c> /// </remarks> public static ResourceCollection GetByRowUpdatedUserId(int rowUpdatedUserId, BootFX.Common.Data.SqlOperator rowUpdatedUserIdOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("RowUpdatedUserId", rowUpdatedUserIdOperator, rowUpdatedUserId); return ((ResourceCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets entities where PasswordHash matches the given specification. /// </summary> /// <remarks> /// Created for column <c>PasswordHash</c> /// </remarks> public static ApiKeyCollection GetByPasswordHash(string passwordHash, BootFX.Common.Data.SqlOperator passwordHashOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("PasswordHash", passwordHashOperator, passwordHash); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where PostalCode matches the given specification. /// </summary> /// <remarks> /// Created for column <c>PostalCode</c> /// </remarks> public static ApiKeyCollection GetByPostalCode(string postalCode, BootFX.Common.Data.SqlOperator postalCodeOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("PostalCode", postalCodeOperator, postalCode); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where IsActive matches the given specification. /// </summary> /// <remarks> /// Created for column <c>IsActive</c> /// </remarks> public static ApiKeyCollection GetByIsActive(bool isActive, BootFX.Common.Data.SqlOperator isActiveOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("IsActive", isActiveOperator, isActive); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where CountryId matches the given specification. /// </summary> /// <remarks> /// Created for column <c>CountryId</c> /// </remarks> public static ApiKeyCollection GetByCountryId(int countryId, BootFX.Common.Data.SqlOperator countryIdOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("CountryId", countryIdOperator, countryId); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where FirstName matches the given specification. /// </summary> /// <remarks> /// Created for column <c>FirstName</c> /// </remarks> public static ApiKeyCollection GetByFirstName(string firstName, BootFX.Common.Data.SqlOperator firstNameOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("FirstName", firstNameOperator, firstName); return ((ApiKeyCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets the <see cref="ApiKey"/> entity with the given ID. /// </summary> /// <bootfx> /// CreateEntityFilterEqualToMethod - ApiKey /// </bootfx> public static ApiKey GetById(int apiKeyId, BootFX.Common.OnNotFound onNotFound) { return AmxMobile.Services.ApiKey.GetById(apiKeyId, BootFX.Common.Data.SqlOperator.EqualTo, onNotFound); }
/// <summary> /// Gets entities where Company matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Company</c> /// </remarks> public static ApiKeyCollection GetByCompany(string company, BootFX.Common.Data.SqlOperator companyOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Company", companyOperator, company); return ((ApiKeyCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets the <see cref="ApiKey"/> entity where the ID matches the given specification. /// </summary> public static ApiKey GetById(int apiKeyId, BootFX.Common.Data.SqlOperator apiKeyIdOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("ApiKeyId", apiKeyIdOperator, apiKeyId); ApiKey results = ((ApiKey)(filter.ExecuteEntity())); return results; }
/// <summary> /// Gets entities where Address3 matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Address3</c> /// </remarks> public static ApiKeyCollection GetByAddress3(string address3, BootFX.Common.Data.SqlOperator address3Operator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Address3", address3Operator, address3); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets an entity where Username is equal to the given value. /// </summary> /// <remarks> /// Created for index <c>ApiKeys_Username</c>. /// </remarks> public static ApiKey GetByUsername(string username, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Username", BootFX.Common.Data.SqlOperator.EqualTo, username); ApiKey results = ((ApiKey)(filter.ExecuteEntity())); return results; }
/// <summary> /// Gets entities where Region matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Region</c> /// </remarks> public static ApiKeyCollection GetByRegion(string region, BootFX.Common.Data.SqlOperator regionOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Region", regionOperator, region); ApiKeyCollection results = ((ApiKeyCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets an entity where Email is equal to the given value. /// </summary> /// <remarks> /// Created for index <c>ApiKeys_Email</c>. /// </remarks> public static ApiKey GetByEmail(string email, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("Email", BootFX.Common.Data.SqlOperator.EqualTo, email); ApiKey results = ((ApiKey)(filter.ExecuteEntity())); return results; }
/// <summary> /// Gets the <see cref="Country"/> entity where the ID matches the given specification. /// </summary> public static Country GetById(int countryId, BootFX.Common.Data.SqlOperator countryIdOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Country)); filter.Constraints.Add("CountryId", countryIdOperator, countryId); Country results = ((Country)(filter.ExecuteEntity())); return results; }
/// <summary> /// Gets entities where PasswordSalt matches the given specification. /// </summary> /// <remarks> /// Created for column <c>PasswordSalt</c> /// </remarks> public static ApiKeyCollection GetByPasswordSalt(int passwordSalt, BootFX.Common.Data.SqlOperator passwordSaltOperator) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ApiKey)); filter.Constraints.Add("PasswordSalt", passwordSaltOperator, passwordSalt); return ((ApiKeyCollection)(filter.ExecuteEntityCollection())); }
/// <summary> /// Gets entities where Ordinal matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Ordinal</c> /// </remarks> public static CountryCollection GetByOrdinal(int ordinal, BootFX.Common.Data.SqlOperator ordinalOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Country)); filter.Constraints.Add("Ordinal", ordinalOperator, ordinal); CountryCollection results = ((CountryCollection)(filter.ExecuteEntityCollection())); return results; }
/// <summary> /// Gets entities where RowVersion matches the given specification. /// </summary> /// <remarks> /// Created for column <c>RowVersion</c> /// </remarks> public static ResourceCollection GetByRowVersion(int rowVersion, BootFX.Common.Data.SqlOperator rowVersionOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(Resource)); filter.Constraints.Add("RowVersion", rowVersionOperator, rowVersion); ResourceCollection results = ((ResourceCollection)(filter.ExecuteEntityCollection())); return results; }