--- myst: substitutions: method: |- ```{image} /img/code_reference/net_library/method.ico ``` prop: |- ```{image} /img/code_reference/net_library/prop.ico ``` --- # IErpEntityTypes Interface Provides the interface for working with a list of EntityTypes. **Namespace:** powerGate.Erp.Client\ **Assembly:** powerGate.Erp.Client.dll ## Syntax ```{code-block} CSharp :linenos: public interface IErpEntityTypes : IEnumerable ``` ## Properties | Type | Name | Description | |-------------------------------|---------------------|----------------------------------------------| | {{method}} [IErpEntityType][] | Item\[string name\] | Gets the EntityType with the specified name. | ## Methods | Type | Name | Description | |----------------------------------------------|-----------------------------|---------------------------------------------------------------------------------------------------| | {{method}} IEnumerable\<[IErpEntityType][]\> | Find(string entityTypeName) | Searches for EntityTypes having the specified name. | | {{method}} IEnumerator\<[IErpEntityType][]\> | GetEnumerator() | Returns an enumerator that iterates through the collection.(Inherited from [IEnumerable\][]). | [IErpEntityType]: ierpentitytype [IEnumerable\]: https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 ## Remarks The **Item\[\]** property and **Find()** function are supporting to pass additionaly parts of the namespace (e.g. NorthwindModel.Territory instead of Territory). ## See also **Reference** - [powerGate.Erp.Client namespace]() - [Get-ERPEntityTypes cmdlet]()