• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Data.SqlFilter类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中BootFX.Common.Data.SqlFilter的典型用法代码示例。如果您正苦于以下问题:C# SqlFilter类的具体用法?C# SqlFilter怎么用?C# SqlFilter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SqlFilter类属于BootFX.Common.Data命名空间,在下文中一共展示了SqlFilter类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:13,代码来源:ResourceBase.cs


示例2: GetById

 /// <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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:10,代码来源:CountryBase.cs


示例3: GetByOrdinal

 /// <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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:CountryBase.cs


示例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()));
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:12,代码来源:ApiKeyBase.cs


示例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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例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;
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:13,代码来源:ResourceBase.cs


示例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;
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:13,代码来源:ResourceBase.cs


示例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;
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:13,代码来源:ResourceBase.cs


示例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()));
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:12,代码来源:ResourceBase.cs


示例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()));
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:12,代码来源:ResourceBase.cs


示例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;
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:13,代码来源:ResourceBase.cs


示例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()));
 }
开发者ID:amxmobile,项目名称:AmxMobile.PanicButton.Server-1.0,代码行数:12,代码来源:ResourceBase.cs


示例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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例16: GetByPostalCode

 /// <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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例17: GetByIsActive

 /// <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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例18: GetByCountryId

 /// <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;
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:13,代码来源:ApiKeyBase.cs


示例19: GetByFirstName

 /// <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()));
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:12,代码来源:ApiKeyBase.cs


示例20: GetUserItemItems

 /// <summary>
 /// Get all of the child 'UserItem' entities.
 /// </summary>
 /// <remarks>
 /// Created for link <c>ApiKey</c>.  (Concrete method.)
 /// </remarks>
 public static UserItemCollection GetUserItemItems(int apiKeyId)
 {
     BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(UserItem));
     filter.Constraints.Add("ApiKeyId", BootFX.Common.Data.SqlOperator.EqualTo, apiKeyId);
     return ((UserItemCollection)(filter.ExecuteEntityCollection()));
 }
开发者ID:Val9,项目名称:AmxMobile.Services-1.1,代码行数:12,代码来源:ApiKeyBase.cs



注:本文中的BootFX.Common.Data.SqlFilter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Models.PortugalVillasContext类代码示例发布时间:2022-05-24
下一篇:
C# BookSleeve.RedisConnection类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap