@@ -53,6 +53,11 @@ discard block |
||
| 53 | 53 | return $this->getSerialiser()->serialize($this->getEdmx(), "xml"); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | + /** |
|
| 57 | + * @param string $name |
|
| 58 | + * @param TTextType $summary |
|
| 59 | + * @param TTextType $longDescription |
|
| 60 | + */ |
|
| 56 | 61 | public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null) |
| 57 | 62 | { |
| 58 | 63 | $NewEntity = new TEntityTypeType(); |
@@ -126,6 +131,14 @@ discard block |
||
| 126 | 131 | return $NewProperty; |
| 127 | 132 | } |
| 128 | 133 | |
| 134 | + /** |
|
| 135 | + * @param string $name |
|
| 136 | + * @param string $type |
|
| 137 | + * @param string $defaultValue |
|
| 138 | + * @param string $storeGeneratedPattern |
|
| 139 | + * @param TTextType $summary |
|
| 140 | + * @param TTextType $longDescription |
|
| 141 | + */ |
|
| 129 | 142 | public function addPropertyToEntityType( |
| 130 | 143 | TEntityTypeType $entityType, |
| 131 | 144 | $name, |
@@ -158,6 +171,11 @@ discard block |
||
| 158 | 171 | return $NewProperty; |
| 159 | 172 | } |
| 160 | 173 | |
| 174 | + /** |
|
| 175 | + * @param string $principalMultiplicity |
|
| 176 | + * @param string $principalProperty |
|
| 177 | + * @param string $dependentMultiplicity |
|
| 178 | + */ |
|
| 161 | 179 | public function addNavigationPropertyToEntityType( |
| 162 | 180 | TEntityTypeType $principalType, |
| 163 | 181 | $principalMultiplicity, |
@@ -320,6 +338,10 @@ discard block |
||
| 320 | 338 | return $association; |
| 321 | 339 | } |
| 322 | 340 | |
| 341 | + /** |
|
| 342 | + * @param string $principalEntitySetName |
|
| 343 | + * @param string $dependentEntitySetName |
|
| 344 | + */ |
|
| 323 | 345 | protected function createAssocationSetForAssocation( |
| 324 | 346 | TAssociationType $association, |
| 325 | 347 | $principalEntitySetName, |