Пример #1
0
        /// <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);
        }
Пример #2
0
 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;
 }
Пример #3
0
 /// <summary>
 /// Remove a MetaJoin from the MetaData
 /// </summary>
 public void RemoveJoin(MetaJoin item)
 {
     MetaData.Joins.Remove(item);
 }
Пример #4
0
 public void RemoveJoin(MetaJoin item)
 {
     MetaData.Joins.Remove(item);
 }