C# Class BExIS.Dlm.Services.MetadataStructure.MetadataPackageManager

Show file Open project: BEXIS2/Core Class Usage Examples

Public Methods

Method Description
AddMetadataAtributeUsage ( MetadataPackage package, MetadataAttribute attribute, string label, string description, int minCardinality, int maxCardinality ) : MetadataAttributeUsage
Create ( string name, string description, bool isEnabled = false ) : MetadataPackage
Delete ( IEnumerable entities ) : bool
Delete ( MetadataPackage entity ) : bool
MetadataPackageManager ( ) : System
RemoveMetadataAtributeUsage ( MetadataAttributeUsage usage ) : void
Update ( MetadataPackage entity ) : MetadataPackage

Method Details

AddMetadataAtributeUsage() public method

public AddMetadataAtributeUsage ( MetadataPackage package, MetadataAttribute attribute, string label, string description, int minCardinality, int maxCardinality ) : MetadataAttributeUsage
package BExIS.Dlm.Entities.MetadataStructure.MetadataPackage
attribute BExIS.Dlm.Entities.MetadataStructure.MetadataAttribute
label string
description string
minCardinality int
maxCardinality int
return BExIS.Dlm.Entities.MetadataStructure.MetadataAttributeUsage

Create() public method

public Create ( string name, string description, bool isEnabled = false ) : MetadataPackage
name string
description string
isEnabled bool
return BExIS.Dlm.Entities.MetadataStructure.MetadataPackage

Delete() public method

public Delete ( IEnumerable entities ) : bool
entities IEnumerable
return bool

Delete() public method

public Delete ( MetadataPackage entity ) : bool
entity BExIS.Dlm.Entities.MetadataStructure.MetadataPackage
return bool

MetadataPackageManager() public method

public MetadataPackageManager ( ) : System
return System

RemoveMetadataAtributeUsage() public method

public RemoveMetadataAtributeUsage ( MetadataAttributeUsage usage ) : void
usage BExIS.Dlm.Entities.MetadataStructure.MetadataAttributeUsage
return void

Update() public method

public Update ( MetadataPackage entity ) : MetadataPackage
entity BExIS.Dlm.Entities.MetadataStructure.MetadataPackage
return BExIS.Dlm.Entities.MetadataStructure.MetadataPackage