Class Rule
Summary description for Rule.
Inheritance
System.Object
Rule
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
Constructors
Declaration
public Rule(MetaClass metaClass)
Parameters
Rule(MetaDataContext)
Declaration
public Rule(MetaDataContext context)
Parameters
Rule(MetaDataContext, String)
Declaration
public Rule(MetaDataContext context, string ClassName)
Parameters
Properties
Declaration
public RuleAttributeCollection Attribute { get; }
Property Value
Declaration
public string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Context
Declaration
public MetaDataContext Context { get; }
Property Value
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public RuleItem this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Declaration
public RuleItem this[string DestColumnName] { get; }
Parameters
Type |
Name |
Description |
System.String |
DestColumnName |
|
Property Value
Methods
Declaration
public void Add(RuleItem Item)
Parameters
Declaration
Delete(MetaDataContext, Int32)
Declaration
public static void Delete(MetaDataContext context, int ruleId)
Parameters
Declaration
public static Rule Deserialize(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Declaration
public RuleItem GetBySrcColumnName(string SrcColumnName)
Parameters
Type |
Name |
Description |
System.String |
SrcColumnName |
|
Returns
GetList(MetaDataContext, MetaClass)
Declaration
public static Rule[] GetList(MetaDataContext context, MetaClass metaClass)
Parameters
Returns
GetList(MetaDataContext, Int32)
Declaration
public static Rule[] GetList(MetaDataContext context, int metaClassId)
Parameters
Returns
GetList(MetaDataContext, String)
Declaration
public static Rule[] GetList(MetaDataContext context, string metaClassName)
Parameters
Returns
Load(MetaDataContext, Int32)
Declaration
public static Rule Load(MetaDataContext context, int ruleId)
Parameters
Returns
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
Save(MetaDataContext, Rule)
Declaration
public static void Save(MetaDataContext context, Rule rule)
Parameters
Declaration
public static byte[] Serialize(Rule rule)
Parameters
Type |
Name |
Description |
Rule |
rule |
|
Returns
Type |
Description |
System.Byte[] |
|
XmlDeserialize(MetaDataContext, String)
Declaration
public static Rule XmlDeserialize(MetaDataContext context, string fileName)
Parameters
Returns
Declaration
public static void XmlSerialize(Rule rule, string fileName)
Parameters
Type |
Name |
Description |
Rule |
rule |
|
System.String |
fileName |
|