/// <summary> /// Add a MetaJoin to the MetaData /// </summary> public MetaJoin AddJoin() { MetaJoin result = MetaJoin.Create(); result.Name = Repository.JoinAutoName; result.Name = Helper.GetUniqueName(result.Name, (from i in MetaData.Joins select i.Name).ToList()); result.Source = this; MetaData.Joins.Add(result); return(result); }
void setContext(ITypeDescriptorContext context) { _metaConnection = context.Instance as MetaConnection; _metaEnum = context.Instance as MetaEnum; _metaTable = context.Instance as MetaTable; _metaColumn = context.Instance as MetaColumn; _metaJoin = context.Instance as MetaJoin; _reportView = context.Instance as ReportView; _reportOutput = context.Instance as ReportOutput; _reportSchedule = context.Instance as ReportSchedule; _parameter = context.Instance as Parameter; _security = context.Instance as SealSecurity; _emailDevice = context.Instance as OutputEmailDevice; }
/// <summary> /// Remove a MetaJoin from the MetaData /// </summary> public void RemoveJoin(MetaJoin item) { MetaData.Joins.Remove(item); }
public void RemoveJoin(MetaJoin item) { MetaData.Joins.Remove(item); }