Class MetaClassManagerEditScope
Defines meta class manager edit scope.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 13.30.0Syntax
public class MetaClassManagerEditScope : IDisposable
Remarks
The class MetaClassManagerEditScope activates transaction, allows to modify meta model and saves modifications by SaveChanges() method. All meta model modifications should be executed in active MetaClassManagerEditScope. Call SaveChanges() method to commit modifications. Open and commit child meta class manager edit scope, it's attaching to root scope automatically. By default, CreateXXX and DeleteXXX methods activates meta class manager edit scope automatically. Current returns root edit scope.
Fields
SystemOwner
Declaration
public const string SystemOwner = "System"
Field Value
Type | Description |
---|---|
System.String |
Properties
AccessLevel
Gets or sets the access level.
Declaration
public AccessLevel AccessLevel { get; protected set; }
Property Value
Type | Description |
---|---|
AccessLevel | The access level. |
Current
Gets the current.
Declaration
public static MetaClassManagerEditScope Current { get; protected set; }
Property Value
Type | Description |
---|---|
MetaClassManagerEditScope | The current. |
Owner
Gets or sets the owner.
Declaration
public string Owner { get; protected set; }
Property Value
Type | Description |
---|---|
System.String | The owner. |
PrevAccessLevel
Gets or sets the prev access level.
Declaration
protected AccessLevel PrevAccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel | The prev access level. |
PrevOwner
Gets or sets the prev owner.
Declaration
protected string PrevOwner { get; set; }
Property Value
Type | Description |
---|---|
System.String | The prev owner. |
Transaction
Gets the transaction.
Declaration
public TransactionScope Transaction { get; }
Property Value
Type | Description |
---|---|
TransactionScope | The transaction. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes the specified disposing.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if set to |
SaveChanges()
Saves the changes.
Declaration
public void SaveChanges()