@@ -48,6 +48,9 @@ discard block |
||
| 48 | 48 | return $this->serializer->serialize($this->getEdmx(), "xml"); |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | + /** |
|
| 52 | + * @param string $name |
|
| 53 | + */ |
|
| 51 | 54 | public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null) |
| 52 | 55 | { |
| 53 | 56 | $NewEntity = new TEntityTypeType(); |
@@ -112,6 +115,11 @@ discard block |
||
| 112 | 115 | } |
| 113 | 116 | } |
| 114 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $name |
|
| 120 | + * @param string $type |
|
| 121 | + * @param string $storeGeneratedPattern |
|
| 122 | + */ |
|
| 115 | 123 | public function addPropertyToEntityType( |
| 116 | 124 | $entityType, |
| 117 | 125 | $name, |
@@ -149,6 +157,11 @@ discard block |
||
| 149 | 157 | return $NewProperty; |
| 150 | 158 | } |
| 151 | 159 | |
| 160 | + /** |
|
| 161 | + * @param string $principalMultiplicity |
|
| 162 | + * @param string $principalProperty |
|
| 163 | + * @param string $dependentMultiplicity |
|
| 164 | + */ |
|
| 152 | 165 | public function addNavigationPropertyToEntityType( |
| 153 | 166 | TEntityTypeType $principalType, |
| 154 | 167 | $principalMultiplicity, |
@@ -325,6 +338,10 @@ discard block |
||
| 325 | 338 | return $association; |
| 326 | 339 | } |
| 327 | 340 | |
| 341 | + /** |
|
| 342 | + * @param string $principalEntitySetName |
|
| 343 | + * @param string $dependentEntitySetName |
|
| 344 | + */ |
|
| 328 | 345 | protected function createAssocationSetForAssocation( |
| 329 | 346 | TAssociationType $association, |
| 330 | 347 | $principalEntitySetName, |