@@ -49,6 +49,9 @@ discard block |
||
| 49 | 49 | return $this->serializer->serialize($this->getEdmx(), "xml"); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $name |
|
| 54 | + */ |
|
| 52 | 55 | public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null) |
| 53 | 56 | { |
| 54 | 57 | $NewEntity = new TEntityTypeType(); |
@@ -124,6 +127,11 @@ discard block |
||
| 124 | 127 | return $NewProperty; |
| 125 | 128 | } |
| 126 | 129 | |
| 130 | + /** |
|
| 131 | + * @param string $name |
|
| 132 | + * @param string $type |
|
| 133 | + * @param string $storeGeneratedPattern |
|
| 134 | + */ |
|
| 127 | 135 | public function addPropertyToEntityType( |
| 128 | 136 | $entityType, |
| 129 | 137 | $name, |
@@ -161,6 +169,11 @@ discard block |
||
| 161 | 169 | return $NewProperty; |
| 162 | 170 | } |
| 163 | 171 | |
| 172 | + /** |
|
| 173 | + * @param string $principalMultiplicity |
|
| 174 | + * @param string $principalProperty |
|
| 175 | + * @param string $dependentMultiplicity |
|
| 176 | + */ |
|
| 164 | 177 | public function addNavigationPropertyToEntityType( |
| 165 | 178 | TEntityTypeType $principalType, |
| 166 | 179 | $principalMultiplicity, |
@@ -337,6 +350,10 @@ discard block |
||
| 337 | 350 | return $association; |
| 338 | 351 | } |
| 339 | 352 | |
| 353 | + /** |
|
| 354 | + * @param string $principalEntitySetName |
|
| 355 | + * @param string $dependentEntitySetName |
|
| 356 | + */ |
|
| 340 | 357 | protected function createAssocationSetForAssocation( |
| 341 | 358 | TAssociationType $association, |
| 342 | 359 | $principalEntitySetName, |