@@ -54,6 +54,11 @@ discard block |
||
| 54 | 54 | return $cereal->serialize($this->getEdmx(), "xml"); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | + /** |
|
| 58 | + * @param string $name |
|
| 59 | + * @param TTextType $summary |
|
| 60 | + * @param TTextType $longDescription |
|
| 61 | + */ |
|
| 57 | 62 | public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null) |
| 58 | 63 | { |
| 59 | 64 | $NewEntity = new TEntityTypeType(); |
@@ -118,6 +123,14 @@ discard block |
||
| 118 | 123 | return $NewProperty; |
| 119 | 124 | } |
| 120 | 125 | |
| 126 | + /** |
|
| 127 | + * @param string $name |
|
| 128 | + * @param string $type |
|
| 129 | + * @param string $defaultValue |
|
| 130 | + * @param string $storeGeneratedPattern |
|
| 131 | + * @param TTextType $summary |
|
| 132 | + * @param TTextType $longDescription |
|
| 133 | + */ |
|
| 121 | 134 | public function addPropertyToEntityType( |
| 122 | 135 | TEntityTypeType $entityType, |
| 123 | 136 | $name, |
@@ -147,6 +160,11 @@ discard block |
||
| 147 | 160 | return $NewProperty; |
| 148 | 161 | } |
| 149 | 162 | |
| 163 | + /** |
|
| 164 | + * @param string $principalMultiplicity |
|
| 165 | + * @param string $principalProperty |
|
| 166 | + * @param string $dependentMultiplicity |
|
| 167 | + */ |
|
| 150 | 168 | public function addNavigationPropertyToEntityType( |
| 151 | 169 | TEntityTypeType $principalType, |
| 152 | 170 | $principalMultiplicity, |
@@ -301,6 +319,10 @@ discard block |
||
| 301 | 319 | return $association; |
| 302 | 320 | } |
| 303 | 321 | |
| 322 | + /** |
|
| 323 | + * @param string $principalEntitySetName |
|
| 324 | + * @param string $dependentEntitySetName |
|
| 325 | + */ |
|
| 304 | 326 | protected function createAssocationSetForAssocation( |
| 305 | 327 | TAssociationType $association, |
| 306 | 328 | $principalEntitySetName, |