Interface IPropertyDefinitionTypeRepository
Defines methods for interacting with a data repository where Property
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IPropertyDefinitionTypeRepository
Methods
Delete(PropertyDefinitionType)
Deletes the suppied Property
Declaration
void Delete(PropertyDefinitionType propertyDefinitionType)
Parameters
Type | Name | Description |
---|---|---|
Property |
propertyDefinitionType | The Property |
Delete(Int32)
Deletes the Property
Declaration
void Delete(int id)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The Property |
List()
Lists all Property
Declaration
IEnumerable<PropertyDefinitionType> List()
Returns
Type | Description |
---|---|
System. |
Enumeration of Property |
Load(Int32)
Loads a Property
Declaration
PropertyDefinitionType Load(int id)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The Property |
Returns
Type | Description |
---|---|
Property |
The Property |
Load(String, String)
Loads a Property
Declaration
PropertyDefinitionType Load(string typeName, string assemblyName)
Parameters
Type | Name | Description |
---|---|---|
System. |
typeName | |
System. |
assemblyName |
Returns
Type | Description |
---|---|
Property |
The Property |
Load(Type)
Loads a Property
Declaration
PropertyDefinitionType Load(Type type)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | The underlying System. |
Returns
Type | Description |
---|---|
Property |
The Property |
LoadByBlockType(Guid)
Loads a Block
Declaration
BlockPropertyDefinitionType LoadByBlockType(Guid blockTypeId)
Parameters
Type | Name | Description |
---|---|---|
System. |
blockTypeId | The block type id. |
Returns
Type | Description |
---|---|
Block |
The Block |
LoadByBlockType(Type)
Loads a Block
Declaration
BlockPropertyDefinitionType LoadByBlockType(Type blockTypeModel)
Parameters
Type | Name | Description |
---|---|---|
System. |
blockTypeModel | The block type model. |
Returns
Type | Description |
---|---|
Block |
The Block |
Save(PropertyDefinitionType)
Saves the specified Property
Declaration
void Save(PropertyDefinitionType propertyDefinitionType)
Parameters
Type | Name | Description |
---|---|---|
Property |
propertyDefinitionType | The Property |