C# Class RevitLookup.Test.EStorageBundle

A base class to manage the creation of schemas and entities of those schemas.
Show file Open project: jeremytammik/RevitLookup Class Usage Examples

Public Methods

Method Description
CreateEntityOfSchema ( ) : System.Entity

Override this method to create an Entity of the Schema created in GetOrCreateSchema.

EStorageBundle ( string schemaName, System.Guid schemaGuid ) : System

Set the schema name and guid the same way for all EStorage bundles.

GetOrCreateSchema ( ) : Schema

Override this method to create an EStorage Schema

Method Details

CreateEntityOfSchema() public abstract method

Override this method to create an Entity of the Schema created in GetOrCreateSchema.
public abstract CreateEntityOfSchema ( ) : System.Entity
return System.Entity

EStorageBundle() public method

Set the schema name and guid the same way for all EStorage bundles.
public EStorageBundle ( string schemaName, System.Guid schemaGuid ) : System
schemaName string
schemaGuid System.Guid
return System

GetOrCreateSchema() public abstract method

Override this method to create an EStorage Schema
public abstract GetOrCreateSchema ( ) : Schema
return Schema