src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 411-414 (lines=4) @@
|
408 |
|
$msg = "Precision must be positive and numeric"; |
409 |
|
return false; |
410 |
|
} |
411 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 < $this->scale)) { |
412 |
|
$msg = "Scale must be positive and numeric"; |
413 |
|
return false; |
414 |
|
} |
415 |
|
if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) { |
416 |
|
$msg = "Collation cannot be empty"; |
417 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 393-396 (lines=4) @@
|
390 |
|
$msg = "Precision must be numeric and non-negative"; |
391 |
|
return false; |
392 |
|
} |
393 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 <= $this->scale)) { |
394 |
|
$msg = "Scale must be numeric and non-negative"; |
395 |
|
return false; |
396 |
|
} |
397 |
|
if (!$this->isTSimpleIdentifierValid($this->name)) { |
398 |
|
$msg = "Name must be valid TSimpleIdentifier"; |
399 |
|
return false; |