src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 396-399 (lines=4) @@
|
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; |
399 |
|
} |
400 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
401 |
|
$msg = "SRID cannot be empty"; |
402 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 360-363 (lines=4) @@
|
357 |
|
$msg = "SRID value cannot be empty"; |
358 |
|
return false; |
359 |
|
} |
360 |
|
if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) { |
361 |
|
$msg = "Collation value cannot be empty"; |
362 |
|
return false; |
363 |
|
} |
364 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) { |
365 |
|
$msg = "Max length must be numeric and non-negative"; |
366 |
|
return false; |