#### [Pf2e\.Database](index.md 'index') ### [Pf2e\.Database](Pf2e.Database.md 'Pf2e\.Database') ## EntityOfTypeAttribute Class Аттрибут, указывающий тип сущности\. ```csharp public class EntityOfTypeAttribute : System.Attribute ``` Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') 🡒 [System\.Attribute](https://learn.microsoft.com/en-us/dotnet/api/system.attribute 'System\.Attribute') 🡒 EntityOfTypeAttribute | Constructors | | | :--- | :--- | | [EntityOfTypeAttribute\(EntityType\)](EntityOfTypeAttribute.EntityOfTypeAttribute(EntityType).md 'Pf2e\.Database\.EntityOfTypeAttribute\.EntityOfTypeAttribute\(Pf2e\.Database\.Model\.Enum\.EntityType\)') | Аттрибут, указывающий тип сущности\. | | Properties | | | :--- | :--- | | [Type](EntityOfTypeAttribute.Type.md 'Pf2e\.Database\.EntityOfTypeAttribute\.Type') | Тип сущности\. | | Methods | | | :--- | :--- | | [Resolve\(Entity\)](EntityOfTypeAttribute.Resolve(Entity).md 'Pf2e\.Database\.EntityOfTypeAttribute\.Resolve\(Pf2e\.Database\.Model\.Base\.Entity\)') | Метод для получения программного типа сущности по её типу\. |