摘要:
帮助类 using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using xFramework.Enums; 阅读全文
摘要:
1.定义lambda的参数,型如我们常写的“x=>”: using System.Linq.Expressions; var type = typeof(CustClass); ParameterExpression parameter = Expression.Parameter(type, "x 阅读全文
摘要:
SQL MERGE INTO TableName TARGET USING ( SELECT :USERID0 AS USERID, :DISPLAY_NAME0 AS DISPLAY_NAME, :EMAIL0 AS EMAIL, :ROWUID0 AS ROWUID, :ROWSTATE0 AS 阅读全文
摘要:
1.添加Nuget包: Dapper Oracle.ManagedDataAccess 2.添加帮助类:OracleDynamicParameters using Dapper; using Oracle.ManagedDataAccess.Client; using System.Data; us 阅读全文
摘要:
重定向指定链接: using System.Net.Http;using System.Net.Http.Headers; var location = $"{HttpContext.Current.Request.Url.Scheme}://{HttpContext.Current.Request 阅读全文
摘要:
1.代码如下: var type = typeof(CodeBuilderVo); var itemDbModel = new CodeBuilderVo(); var properArr = type.GetPublicProperties(); foreach (var itemProper i 阅读全文