Пример #1
0
        public string GetErrorMessageMethodName()
        {
            string filterName = null;

            if (FilterType.StartsWith(Source.Module.Name + "."))
            {
                string dataStructureName = FilterType.Substring(Source.Module.Name.Length + 1);
                if (CsUtility.GetIdentifierError(dataStructureName) == null)
                {
                    filterName = dataStructureName;
                }
            }

            if (filterName == null)
            {
                filterName = CsUtility.TextToIdentifier(FilterType);
            }

            return("GetErrorMessage_" + filterName);
        }
 private static string GetTempColumnNameNew(LoggingRelatedItemInfo info)
 {
     return(SqlUtility.Identifier("New_" + CsUtility.TextToIdentifier(info.Relation) + "_" + info.Column));
 }