General
Apex SQL Audit
Apex SQL Clean
Apex SQL Code
Apex SQL Diff
Apex SQL Diff (Data)
Apex SQL Doc
Apex SQL Edit
Apex SQL Enforce
Apex SQL Log
Apex SQL Report
Apex SQL Script
Troubleshooting Home
Apex SQL Audit
Apex SQL Clean
Apex SQL Code
Apex SQL Diff
Apex SQL Diff (Data)
Apex SQL Doc
Apex SQL Edit
Apex SQL Enforce
Apex SQL Log
Apex SQL Report
Apex SQL Script
Troubleshooting Home
|
Troubleshooting Troubleshooting and Known issues with Apex SQL Tools How do I add a brace to a code template? If you are using C# as output language, then you should add a space between "<" and ">". For example, to output the following: public class ReadOnlyBase<RequestInfo> It must be written as: public class ReadOnlyBase<%= "<" + ClassName %>Info> LAST REVIEW DATE 12 October 2007 Labels: ApexSQL Code ...Some of my SQL objects have multiple words in their names (for example, [Order Details]) and this causes the errors when they are used as... Some of my SQL objects have multiple words in their names (for example, [Order Details]) and this causes the errors when they are used as method names? CAUSE Database object names like [Order Details] not valid for identifiers in programming languages. RESOLUTION Write your own function to convert names or define aliases (see help here: http://www.apexsql.com/help/apexsqlcode/HTML/Support/_FAQs.htm#How_do_I_change_an_Alias_of_an_Object_) for the objects and use alias in your templates. For example, take the following function MakeValidFilename (VB.Net) as the base: Function MakeValidFilename(vString As String) As String And call it in proper cases Public Interface I<%= MakeValidFilename(objTable.Name) %> For the Order Details table it writes Public Interface IOrder_DetailsLAST REVIEW DATE 10 August 2007 Labels: ApexSQL Code ...Welcome to the ApexSQL Troubleshooting and Known Issues Welcome to the ApexSQL Troubleshooting and Known Issues. This is an online resource to help you find solutions to known issues with Apex SQL tools. Labels: ApexSQL Audit, ApexSQL Clean, ApexSQL Code, ApexSQL Diff, ApexSQL Diff (Data), ApexSQL Doc, ApexSQL Edit, ApexSQL Enforce, ApexSQL Law, ApexSQL Log, ApexSQL Script, General ... |
© 2008 Apex SQL Tools All Rights Reserved | 1.919.968.8444 | Contact Us | Terms of Use | Privacy Policy
