Class ModuleExtensionConfigurationHelper
Inheritance
object
ModuleExtensionConfigurationHelper
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.ObjectExtending.Modularity
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public static class ModuleExtensionConfigurationHelper
Methods
ApplyEntityConfigurations(string, string, Type, Type[], Type[], Type[], Type[], Type[])
Declaration
public static void ApplyEntityConfigurations(string moduleName, string entityName, Type entityType = null, Type[] createFormTypes = null, Type[] editFormTypes = null, Type[] getApiTypes = null, Type[] createApiTypes = null, Type[] updateApiTypes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | |
| string | entityName | |
| System.Type | entityType | |
| System.Type[] | createFormTypes | |
| System.Type[] | editFormTypes | |
| System.Type[] | getApiTypes | |
| System.Type[] | createApiTypes | |
| System.Type[] | updateApiTypes |
ApplyEntityConfigurationToApi(string, string, Type[], Type[], Type[])
Declaration
public static void ApplyEntityConfigurationToApi(string moduleName, string objectName, Type[] getApiTypes = null, Type[] createApiTypes = null, Type[] updateApiTypes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | |
| string | objectName | |
| System.Type[] | getApiTypes | |
| System.Type[] | createApiTypes | |
| System.Type[] | updateApiTypes |
ApplyEntityConfigurationToEntity(string, string, Type)
Declaration
public static void ApplyEntityConfigurationToEntity(string moduleName, string entityName, Type entityType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | |
| string | entityName | |
| System.Type | entityType |
ApplyEntityConfigurationToUi(string, string, Type[], Type[])
Declaration
public static void ApplyEntityConfigurationToUi(string moduleName, string entityName, Type[] createFormTypes = null, Type[] editFormTypes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | |
| string | entityName | |
| System.Type[] | createFormTypes | |
| System.Type[] | editFormTypes |
ApplyPropertyConfigurationToTypes(ExtensionPropertyConfiguration, Type[])
Declaration
public static void ApplyPropertyConfigurationToTypes(ExtensionPropertyConfiguration propertyConfig, Type[] types)
Parameters
| Type | Name | Description |
|---|---|---|
| ExtensionPropertyConfiguration | propertyConfig | |
| System.Type[] | types |
GetPropertyConfigurations(string, string)
Declaration
public static IEnumerable<ExtensionPropertyConfiguration> GetPropertyConfigurations(string moduleName, string entityName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | |
| string | entityName |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><ExtensionPropertyConfiguration> |