Case sensitive or not
(Created page with "==== Tagged values ==== When it comes to tagged values - the value is just a string and it is up the implementer how the interpretation is done -> case-to-case. Having said th...")
 
No edit summary
Line 3: Line 3:


==== OCL ====
==== OCL ====
Ocl is largely case-insensitive when it comes to identifiers and operators BUT types must start with a Capital-letter. Data in MDriven is always case sensitive; operators toupper, tolower, sqllike and sqllikecaseinsensitive handles case conversion.
Ocl is largely case-insensitive when it comes to identifiers and operators BUT types must start with a Capital-letter. Data in MDriven is always case sensitive; operators [[OCLOperators ToUpper () : String|toupper]], [[OCLOperators ToLower () : String|tolower]], [[OCLOperators sqlLike|sqllike]] and [[OCLOperators sqlLikeCaseInsensitive|sqllikecaseinsensitive]] handles case conversion.


==== OCL-PS / Database ====
==== OCL-PS / Database ====

Revision as of 07:24, 23 June 2020

Tagged values

When it comes to tagged values - the value is just a string and it is up the implementer how the interpretation is done -> case-to-case. Having said that we aim to have all boolean tagged-values to be case insensitive. If you find exceptions to this ambition it would be great if you report it so that we can fix it.

OCL

Ocl is largely case-insensitive when it comes to identifiers and operators BUT types must start with a Capital-letter. Data in MDriven is always case sensitive; operators toupper, tolower, sqllike and sqllikecaseinsensitive handles case conversion.

OCL-PS / Database

When creating SQL-Server instances you can decide what collaction to use - collations containing "_CI_" in the name are case insensitive, others are case sensitive. We offer OCL operators sqllike and sqllikecaseinsensitive.

In the persistencemapping set up for MDrivenServer we use bit to represent bool in the database -> 1==true, 0==false. If you have DefaultDbValue on a boolean you must put 1 or 0.

This page was edited 94 days ago on 02/10/2024. What links here