摘要:
1、想要实现sql: SELECT COUNT( 1 ) FROM clue_follow_linkman WHERE is_deleted=0 AND (clue_follow_id = ? AND ( (mobile_phone IS NULL OR mobile_phone = ?) ) AN 阅读全文
摘要:
public interface Calculator { int add(int i, int j); int sub(int i, int j); int mul(int i, int j); int div(int i, int j); } View Code @Component // IO 阅读全文
摘要:
内部类的优点: 1、内部类可以访问外部类的私有数据。 2、内部类具有封装性。 3、匿名类可以实现“多重继承”。 4、匿名内部类可以支持回调。 参考https://blog.csdn.net/weixin_44234912/article/details/108798787 public class 阅读全文
摘要:
一、成员内部类 1、C# class Program { static void Main(string[] args) { Order.Inner s = new Order.Inner(); s.Visit(); } } public class Order { static int radiu 阅读全文
摘要:
1、Book和Author表 [Table("Book")] public partial class Book { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverri 阅读全文
摘要:
1、<导航属性名称><主体主键属性名称> [Table("Order")] public partial class Order { // 主键 public int OrderId { get; set; } public DateTime OrderDate { get; set; } // 导 阅读全文
摘要:
1、公共方法 using System.Security.Claims; using System.Security.Cryptography; using System.Security.Principal; namespace HRS.Web.Helper { public class Toke 阅读全文
摘要:
1、https可以保证信道安全,但是不能保证数据源安全,所以可以对请求头签名的方式。 2、签名方法 using HRS.Lib.Comm.Exceptions; using HRS.Lib.Comm.Memory; using System; using System.Collections.Con 阅读全文