本文整理汇总了C#中BootFX类的典型用法代码示例。如果您正苦于以下问题:C# BootFX类的具体用法?C# BootFX怎么用?C# BootFX使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BootFX类属于命名空间,在下文中一共展示了BootFX类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetByRowUpdatedUtc
/// <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;
}
示例2: GetById
/// <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);
}
示例3: GetByName
/// <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;
}
示例4: GetByAddress2
/// <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()));
}
示例5: GetByCity
/// <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;
}
示例6: GetBySubscribe
/// <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;
}
示例7: GetByLastName
/// <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;
}
示例8: GetByCurrentMobileClientName
/// <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;
}
示例9: GetByForceCodeCapture
/// <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;
}
示例10: GetByContractGroupId
/// <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;
}
示例11: GetByTargetMobileClientName
/// <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()));
}
示例12: GetBySecurityGroupId
/// <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()));
}
示例13: GetByRowLastTransactionId
/// <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;
}
示例14: GetByRowUpdatedUserId
/// <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()));
}
示例15: GetByPasswordHash
/// <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;
}