public OrderSelectBuild WhereExpress_nameLike(params string[] Express_name) { if (Express_name == null || Express_name.Where(a => !string.IsNullOrEmpty(a)).Any() == false) { return(this); } return(this.Where1Or(@"a.`express_name` LIKE {0}", Express_name.Select(a => "%" + a + "%").ToArray())); }
public override string ToString() { string json = string.Concat( __jsonIgnore.ContainsKey("Id") ? string.Empty : string.Format(", Id : {0}", Id == null ? "null" : Id.ToString()), __jsonIgnore.ContainsKey("Member_id") ? string.Empty : string.Format(", Member_id : {0}", Member_id == null ? "null" : Member_id.ToString()), __jsonIgnore.ContainsKey("Code") ? string.Empty : string.Format(", Code : {0}", Code == null ? "null" : string.Format("'{0}'", Code.Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("Create_time") ? string.Empty : string.Format(", Create_time : {0}", Create_time == null ? "null" : Create_time.Value.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds.ToString()), __jsonIgnore.ContainsKey("Express_code") ? string.Empty : string.Format(", Express_code : {0}", Express_code == null ? "null" : string.Format("'{0}'", Express_code.Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("Express_name") ? string.Empty : string.Format(", Express_name : {0}", Express_name == null ? "null" : string.Format("'{0}'", Express_name.Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("Paymethod") ? string.Empty : string.Format(", Paymethod : {0}", Paymethod == null ? "null" : string.Format("'{0}'", Paymethod.Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("Remark") ? string.Empty : string.Format(", Remark : {0}", Remark == null ? "null" : string.Format("'{0}'", Remark.Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("State") ? string.Empty : string.Format(", State : {0}", State == null ? "null" : string.Format("'{0}'", State.ToDescriptionOrString().Replace("\\", "\\\\").Replace("\r\n", "\\r\\n").Replace("'", "\\'"))), __jsonIgnore.ContainsKey("Total_express_price") ? string.Empty : string.Format(", Total_express_price : {0}", Total_express_price == null ? "null" : Total_express_price.ToString()), __jsonIgnore.ContainsKey("Total_original_price") ? string.Empty : string.Format(", Total_original_price : {0}", Total_original_price == null ? "null" : Total_original_price.ToString()), __jsonIgnore.ContainsKey("Total_price") ? string.Empty : string.Format(", Total_price : {0}", Total_price == null ? "null" : Total_price.ToString()), __jsonIgnore.ContainsKey("Update_time") ? string.Empty : string.Format(", Update_time : {0}", Update_time == null ? "null" : Update_time.Value.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds.ToString()), " }"); return(string.Concat("{", json.Substring(1))); }