November Happy Hour will be moved to Thursday December 5th.

Interface IMetaObjectFactory

Defines the mechanism for meta object factory.

Namespace: Mediachase.BusinessFoundation.Data.Meta
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2
Syntax
public interface IMetaObjectFactory

Methods

CanCreate(MetaClass)

Determines whether this instance can create the specified meta class.

Declaration
bool CanCreate(MetaClass metaClass)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

Returns
Type Description
System.Boolean

true if this instance can create the specified meta class; otherwise, false.

CreateInstance(MetaClass)

Creates the instance.

Declaration
MetaObject CreateInstance(MetaClass metaClass)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

Returns
Type Description
MetaObject

CreateInstance(MetaClass, PrimaryKeyId)

Creates the instance.

Declaration
MetaObject CreateInstance(MetaClass metaClass, PrimaryKeyId primaryKeyId)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

PrimaryKeyId primaryKeyId

The primary key id.

Returns
Type Description
MetaObject

CreateInstance(MetaClass, CustomTableRow)

Creates the instance.

Declaration
MetaObject CreateInstance(MetaClass metaClass, CustomTableRow row)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

CustomTableRow row

The row.

Returns
Type Description
MetaObject