final | |
|---|---|
implements |
EdmBuilderInterface |
Mutable accumulator that produces a frozen EdmxInterface (Stage 1).
Collect schema elements via the fluent API then call build() once. After build() the builder must not be mutated further.
| Methods | ||
|---|---|---|
public
|
version(string $version): static
|
# |
public
|
namespace(string $namespace): static
|
# |
public
|
alias(string $alias): static
|
# |
public
|
containerName(string $name): static
|
# |
public
|
addReference(ReferenceInterface $reference): static
|
# |
public
|
useVocabulary(Vocabulary $vocabulary): static
|
# |
public
|
addEntityType(EntityTypeInterface $type): static
|
# |
public
|
addComplexType(ComplexTypeInterface $type): static
|
# |
public
|
addEnumType(EnumTypeInterface $type): static
|
# |
public
|
addTypeDefinition(TypeDefinitionInterface $type): static
|
# |
public
|
addFunction(FunctionInterface $function): static
|
# |
public
|
addEntitySet(EntitySetInterface $set): static
|
# |
public
|
injectNavigationProperty(
string $entityTypeName,
NavigationPropertyInterface $navProperty,
string $targetEntitySetName,
): static
|
# |
public
|
addSingleton(SingletonInterface $singleton): static
|
# |
public
|
addFunctionImport(FunctionImportInterface $import): static
|
# |
public
|
build(): EdmxInterface
|
# |