src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 392-395 (lines=4) @@
|
| 389 |
|
$msg = "Precision must be positive and numeric"; |
| 390 |
|
return false; |
| 391 |
|
} |
| 392 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 < $this->scale)) { |
| 393 |
|
$msg = "Scale must be positive and numeric"; |
| 394 |
|
return false; |
| 395 |
|
} |
| 396 |
|
if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) { |
| 397 |
|
$msg = "Collation cannot be empty"; |
| 398 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 372-375 (lines=4) @@
|
| 369 |
|
$msg = "Precision must be numeric and non-negative"; |
| 370 |
|
return false; |
| 371 |
|
} |
| 372 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 <= $this->scale)) { |
| 373 |
|
$msg = "Scale must be numeric and non-negative"; |
| 374 |
|
return false; |
| 375 |
|
} |
| 376 |
|
if (!$this->isTSimpleIdentifierValid($this->name)) { |
| 377 |
|
$msg = "Name must be valid TSimpleIdentifier"; |
| 378 |
|
return false; |