| | |
| | | using GenerateCode_WeiBen_WMS.Model; |
| | | using GenerateCode_GEBrilliantFactory.Model; |
| | | using GenerateCode_WeiBen_WMS.Model; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Configuration; |
| | |
| | | /// </summary> |
| | | public class CommonHelper |
| | | { |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¿½ç¥è¯¥å |
| | | /// </summary> |
| | | /// <param name="columnName"></param> |
| | | /// <returns></returns> |
| | | public static bool IsIgnore(string columnName) |
| | | { |
| | | if (columnName.ToUpper() == SystemCommonVar.c_ExtraProperties.ToUpper() |
| | | || columnName.ToUpper() == SystemCommonVar.c_ConcurrencyStamp.ToUpper() |
| | | ) |
| | | { |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// éç¨æ¿æ¢å符串 |
| | | /// </summary> |
| | |
| | | { |
| | | str = str.Replace("$NameSpacePath$", param.NameSpacePath);//å½åç©ºé´ |
| | | str = str.Replace("$ChinaComment$", param.ChinaComment);//ä¸ææ³¨é |
| | | str = str.Replace("$PageMenuName$", param.PageMenuName);//ä¸ææ³¨é |
| | | str = str.Replace("$PageMenuInstanceName$", param.PageMenuInstanceName);//ä¸ææ³¨é |
| | | str = str.Replace("$EntityName$", param.EntityName);//å®ä½ç±»å |
| | | str = str.Replace("$Modulelogo$", param.Modulelogo);//模åç®å |
| | | str = str.Replace("$EntityInstanceName$", param.EntityInstanceName);//å®ä¾å |
| | | |
| | | str = str.Replace("$LikeQueryAttrs$", param.LikeQueryAttrs); |
| | | str = str.Replace("$LikeQueryAttrsName$", param.LikeQueryAttrsName); |
| | | str = str.Replace("$ValidateRepeatName$", param.ValidateRepeatName); |
| | | str = str.Replace("$DeleteAlertAttr$", param.DeleteAlertAttr); |
| | | |
| | | } |
| | | |