Example #1
0
        internal override void CopyFrom(Column column)
        {
            base.CopyFrom(column);
            if (column.ColumnType != ColumnType.Foreignkey) return;
            Foreignkey fk = (Foreignkey)column;
            m_ForeignkeyTable = fk.m_ForeignkeyTable;

            m_ValueColumn = fk.m_ValueColumn;

            m_ConnectionString = fk.m_ConnectionString;
            m_ConnectionStringSet = fk.m_ConnectionStringSet;
            m_Foreignkeytype = fk.m_Foreignkeytype;
            m_SelectMenuWidth = fk.m_SelectMenuWidth;
            m_SelectMenuMaxHeight = fk.m_SelectMenuMaxHeight;
            m_FilterExpression = fk.m_FilterExpression;
            m_TreeParentId = fk.m_TreeParentId;
            m_SortExpression = fk.m_SortExpression;
            m_EnableOnlyTreeLeaf = fk.m_EnableOnlyTreeLeaf;
            m_RecordsPerRow = fk.m_RecordsPerRow;
            m_TreeStructureSeperator = fk.m_TreeStructureSeperator;
            m_RememberState = fk.m_RememberState;
            m_identityColumn = fk.m_identityColumn;
        }
Example #2
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.ManyToMany)
     {
         ManyToMany mk = (ManyToMany)base.CopyTo(column);
         mk.m_ForeignDataSource = m_ForeignDataSource;
         mk.m_ValueColumn = m_ValueColumn;
         mk.m_Manytomanytype = m_Manytomanytype;
         mk.m_ForeignIdentityColumn = m_ForeignIdentityColumn;
         mk.m_MatrixidentityColumn = m_MatrixidentityColumn;
         mk.m_MatrixDatasource = m_MatrixDatasource;
         mk.m_TreeParentId = m_TreeParentId;
         mk.m_RecordsPerRow = m_RecordsPerRow;
         mk.m_FilterExpression = m_FilterExpression;
         mk.ConnectionString = ConnectionString;
         mk.m_SortExpression = m_SortExpression;
         mk.m_CheckedAlias = m_CheckedAlias;
         mk.m_UncheckedAlias = m_UncheckedAlias;
         mk.m_MatrixTable = m_MatrixTable;
         return mk;
     }
     return base.CopyTo(column);
 }
Example #3
0
        internal override void CopyFrom(Column column)
        {
            base.CopyFrom(column);
            if (!(column is ColumnTemplate)) return;
            ColumnTemplate c = (ColumnTemplate)column;

            //m_DetailContainer = c.m_DetailContainer;
            m_GridViewTemplate = c.m_GridViewTemplate;
            m_DetailViewTemplate = c.m_DetailViewTemplate;
            m_DetailTemplateContainer = c.m_DetailTemplateContainer;

        }
Example #4
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     Sortable = false;
     if (column.ColumnType != ColumnType.Image)
         return;
     Image c = (Image)column;
     m_PopupImageDisplayType = c.m_PopupImageDisplayType;
     m_Directory = c.m_Directory;
     m_AllowExtensions = c.m_AllowExtensions;
     m_DenyExtensions = c.m_DenyExtensions;
     m_DisplayFileName = c.m_DisplayFileName;
     m_HideImage = c.m_HideImage;
     m_FileNameOption = c.m_FileNameOption;
     m_FileTemporaryMode = c.m_FileTemporaryMode;
     m_FileName = c.m_FileName;
     m_PopupImageColumn = c.m_PopupImageColumn;
     m_Sizes = c.m_Sizes;
     m_PopupImageCaption = c.m_PopupImageCaption;
     base.FileNameColumn = c.FileNameColumn;
     base.IsBlob = c.IsBlob;
 }
Example #5
0
        // 24.03.2005 - jorn : removed ColumnType to avoid resetting of all data. This  might have affects elsewhere :|
        internal virtual void CopyFrom(Column column)
        {
            if (column == this)
                return;
            m_Grid = column.m_Grid;
            m_TreeIndentText = column.m_TreeIndentText;
            m_TreeLevel = column.m_TreeLevel;
            m_Columnname = column.m_Columnname;
            m_ColumnType = column.m_ColumnType;
            m_Title = column.m_Title;
            m_HeaderText = column.m_HeaderText;
            m_IsInDataSource = column.m_IsInDataSource;
            DisplayIndex = column.DisplayIndex;
            m_MaxSize = column.m_MaxSize;
            m_MinSize = column.m_MinSize;
            m_AllowEmpty = column.m_AllowEmpty;
            m_NullText = column.m_NullText;
             m_DbDefaultValue = column.m_DbDefaultValue;
            m_HyperLinkColumn = column.m_HyperLinkColumn;
            m_Visibility = column.m_Visibility;
            m_Primarykey = column.m_Primarykey;
            m_Identity = column.m_Identity;
            m_AllowUpdate = column.m_AllowUpdate;
            m_Table = column.m_Table;
            m_Required = column.m_Required;
            m_WidthEditableColumn = column.m_WidthEditableColumn;
            m_WidthColumnTitle = column.m_WidthColumnTitle;
            m_WidthColumnHeaderTitle = column.m_WidthColumnHeaderTitle;
            m_HeightEditableColumn = column.m_HeightEditableColumn;
            m_EditAlign = column.m_EditAlign;
            m_EditVAlign = column.m_EditVAlign;
            m_EditAlignTitle = column.m_EditAlignTitle;
            m_GridAlign = column.m_GridAlign;
            m_GridVAlign = column.m_GridVAlign;
            m_SaveValueToViewState = column.m_SaveValueToViewState;
            m_Searchable = column.m_Searchable;
            m_Sortable = column.m_Sortable;
            m_Groupable = column.m_Groupable;
            m_UseAllRows = column.m_UseAllRows;
            m_AllowEdit = column.m_AllowEdit;
            m_HtmlEncode = column.m_HtmlEncode;
            m_DataSourceId = column.m_DataSourceId;
            m_DataSourcePrimaryKeys = column.m_DataSourcePrimaryKeys;
            m_LoadColumnDataSourceData = column.m_LoadColumnDataSourceData;
            m_FilterByColumn = column.m_FilterByColumn;
            m_EnableFilterByColumn = column.m_EnableFilterByColumn;
            m_Cssclass = column.m_Cssclass;
            m_CssclassTitle = column.m_CssclassTitle;

            m_Rowspan = column.m_Rowspan;
            m_NonBreaking = column.m_NonBreaking;
            m_AutoPostback = column.m_AutoPostback;
            m_ForcePostBack = column.m_ForcePostBack;

            m_NewRowInDetail = column.m_NewRowInDetail;
            m_NewRowInGrid = column.m_NewRowInGrid;

            m_PreDetailText = column.m_PreDetailText;
            m_PreGridText = column.m_PreGridText;
            m_PostDetailText = column.m_PostDetailText;
            m_PostGridText = column.m_PostGridText;
            m_HideDetailTitle = column.m_HideDetailTitle;
            TextTruncate = column.TextTruncate;
            UniqueValueRequired = column.UniqueValueRequired;
            m_Attributes = column.m_Attributes;
            m_MaskedInput = column.m_MaskedInput;
            m_DisableMaskedInput = column.m_DisableMaskedInput;

            m_TypeCode = column.m_TypeCode;
            Tag = column.Tag;

            SystemMessageStyle = column.SystemMessageStyle;
            SystemMessage = column.SystemMessage;
            ConfirmMessage = column.ConfirmMessage;
            ValidExpression = column.ValidExpression;
            m_HideIfEmpty = column.m_HideIfEmpty;
            IsCreatedByWebGrid = column.IsCreatedByWebGrid;
            m_AllowEditInGrid = column.m_AllowEditInGrid;
            m_GridModeEditTransparent = column.m_GridModeEditTransparent;
            m_TooltipEditTitle = column.m_TooltipEditTitle;
            m_TooltipGridHeaderTitle = column.m_TooltipGridHeaderTitle;
            m_ToolTipInput = column.m_ToolTipInput;
            m_DefaultDataSourceId = column.m_DefaultDataSourceId;
            m_defaultValue = column.m_defaultValue;
              /*  m_GridViewTemplate = column.m_GridViewTemplate;
            m_GridViewTemplateCache = column.m_GridViewTemplateCache;
            m_DetailViewTemplate = column.m_DetailViewTemplate;
            m_DetailViewTemplateCache = column.m_DetailViewTemplateCache;*/
        }
Example #6
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     switch (column.ColumnType)
     {
         case ColumnType.Decimal:
             {
                 Decimal c = (Decimal)column;
                 m_Format = c.m_Format;
                 m_Sum = c.m_Sum;
                 m_Totalsum = c.m_Totalsum;
                 m_DisplayTotalSummary = c.m_DisplayTotalSummary;
             }
             break;
         case ColumnType.Number:
             m_Format = ((Number)column).m_Format;
             break;
     }
 }
Example #7
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.GridColumn) return;
     GridColumn c = (GridColumn)column;
     m_GridId = c.m_GridId;
 }
Example #8
0
        // 2005.01.05 - Jorn - Gromfunksjon
        internal override void CopyFrom(Column column)
        {
            base.CopyFrom(column);
            if (column.ColumnType != ColumnType.Checkbox) return;
            Checkbox bt = (Checkbox)column;
            CheckedAlias = bt.CheckedAlias;
            UncheckedAlias = bt.UncheckedAlias;

            m_Displaylabel = bt.m_Displaylabel;
        }
Example #9
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.Chart) return;
     Chart c = (Chart)column;
     m_ValueColumn = c.m_ValueColumn;
     m_TitleColumn = c.m_TitleColumn;
     m_IValue = c.m_IValue;
     m_ChartType = c.m_ChartType;
     m_BackgroundImage = c.m_BackgroundImage;
     m_Image = c.m_Image;
     m_StartImage = c.m_StartImage;
     m_EndImage = c.m_EndImage;
     m_TitleBoardOnChart = c.m_TitleBoardOnChart;
 }
Example #10
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.Chart)
     {
         Chart c = (Chart)base.CopyTo(column);
         c.m_ValueColumn = m_ValueColumn;
         c.m_TitleColumn = m_TitleColumn;
         c.m_IValue = m_IValue;
         c.m_ChartType = m_ChartType;
         c.m_BackgroundImage = m_BackgroundImage;
         c.m_Image = m_Image;
         c.m_StartImage = m_StartImage;
         c.m_EndImage = m_EndImage;
         c.m_TitleBoardOnChart = m_TitleBoardOnChart;
         return c;
     }
     return base.CopyTo(column);
 }
Example #11
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.SystemColumn)
     {
         SystemColumn sc = (SystemColumn)base.CopyTo(column);
         sc.m_Html = m_Html;
         sc.m_SystemColumnType = m_SystemColumnType;
         return sc;
     }
     return base.CopyTo(column);
 }
Example #12
0
        internal override Column CopyTo(Column column)
        {
            if (column.ColumnType == ColumnType.Text)
            {
                Text c = (Text) base.CopyTo(column);
                c.m_IsHtml = m_IsHtml;
                c.m_IsEmail = m_IsEmail;
                c.m_IsUrl = m_IsUrl;
                c.m_IsPassword = m_IsPassword;
                c.m_Format = m_Format;
                c.m_EncryptionKey = m_EncryptionKey;
                c.m_ColumngridAlias = m_ColumngridAlias;

                return c;
            }
            return base.CopyTo(column);
            //return null;
        }
Example #13
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.Text)
         return;
     Text c = (Text) column;
     c.m_IsHtml = m_IsHtml;
     c.m_IsEmail = m_IsEmail;
     c.m_IsUrl = m_IsUrl;
     c.m_IsPassword = m_IsPassword;
     c.m_Format = m_Format;
     c.m_ColumngridAlias = m_ColumngridAlias;
     c.m_EncryptionKey = m_EncryptionKey;
 }
Example #14
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.Number) return;
     Number c = (Number)column;
     m_Format = c.m_Format;
     m_NumberSwap = c.m_NumberSwap;
 }
Example #15
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.GridColumn)
     {
         GridColumn c = (GridColumn)base.CopyTo(column);
         c.m_GridId = m_GridId;
         return c;
     }
     return base.CopyTo(column);
 }
Example #16
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.Number)
     {
         Number c = (Number)base.CopyTo(column);
         c.m_Format = m_Format;
         c.m_NumberSwap = m_NumberSwap;
         return c;
     }
     return base.CopyTo(column);
 }
Example #17
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     Sortable = false;
     if (column.ColumnType != ColumnType.File)
         return;
     File c = (File)column;
     m_Directory = c.m_Directory;
     m_AllowExtensions = c.m_AllowExtensions;
     m_DenyExtensions = c.m_DenyExtensions;
     m_DisplayFileName = c.m_DisplayFileName;
     m_FileNameOption = c.m_FileNameOption;
     m_FileTemporaryMode = c.m_FileTemporaryMode;
     base.FileNameColumn = c.FileNameColumn;
     m_FileName = c.m_FileName;
     base.IsBlob = c.IsBlob;
 }
Example #18
0
        // 2005.01.05 - Jorn - Denne er bra
        internal override Column CopyTo(Column column)
        {
            if (column.ColumnType == ColumnType.Checkbox)
            {
                Checkbox bt = (Checkbox)base.CopyTo(column);
                bt.m_CheckedAlias = m_CheckedAlias;
                bt.m_UncheckedAlias = m_UncheckedAlias;

                bt.m_Displaylabel = m_Displaylabel;
                return bt;
            }
            return base.CopyTo(column);
        }
Example #19
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.File)
     {
         File c = (File)base.CopyTo(column);
         c.m_Directory = m_Directory;
         c.m_AllowExtensions = m_AllowExtensions;
         c.m_DenyExtensions = m_DenyExtensions;
         c.m_DisplayFileName = m_DisplayFileName;
         c.m_FileNameOption = m_FileNameOption;
         c.m_FileTemporaryMode = m_FileTemporaryMode;
         c.FileNameColumn = base.FileNameColumn;
         c.m_FileName = m_FileName;
         c.IsBlob = base.IsBlob;
         return c;
     }
     base.CopyTo(column);
     column.Sortable = false;
     return column;
 }
Example #20
0
        // 24.03.2005 - jorn : removed ColumnType to avoid resetting of all data. This  might have affects elsewhere :|
        internal virtual Column CopyTo(Column column)
        {
            if (column == this)
                return column;
            if (Grid.Trace.IsTracing)
                Grid.Trace.Trace("Column ({0}) started CopyTo.", ColumnId);
            //   column = (Column)base.MemberwiseClone();
            //   return column;
            column.m_Grid = m_Grid;
            column.m_TypeCode = m_TypeCode;
            column.m_Columnname = m_Columnname;
            column.m_ColumnType = m_ColumnType;
            column.m_Title = m_Title;
            column.m_IsInDataSource = m_IsInDataSource;
            column.m_HeaderText = m_HeaderText;
            column.m_DisplayIndex = m_DisplayIndex;
            column.m_MaxSize = m_MaxSize;
            column.m_MinSize = m_MinSize;
            column.m_AllowEmpty = m_AllowEmpty;
            column.m_NullText = m_NullText;
            column.m_DbDefaultValue = m_DbDefaultValue;
            column.m_HyperLinkColumn = m_HyperLinkColumn;
            column.m_Visibility = m_Visibility;
            column.m_Primarykey = m_Primarykey;
            column.m_Identity = m_Identity;
            column.m_Table = m_Table;
            column.m_Required = m_Required;
            column.m_WidthEditableColumn = m_WidthEditableColumn;
            column.m_WidthColumnTitle = m_WidthColumnTitle;
            column.m_WidthColumnHeaderTitle = m_WidthColumnHeaderTitle;
            column.m_HeightEditableColumn = m_HeightEditableColumn;
            column.m_EditAlign = m_EditAlign;
            column.m_EditAlignTitle = m_EditAlignTitle;
            column.m_EditVAlign = m_EditVAlign;
            column.m_GridAlign = m_GridAlign;
            column.m_GridVAlign = m_GridVAlign;
            column.m_TreeIndentText = m_TreeIndentText;
            column.m_TreeLevel = m_TreeLevel;
            column.m_SaveValueToViewState = m_SaveValueToViewState;
            column.m_Searchable = m_Searchable;
            column.m_Sortable = m_Sortable;
            column.m_Groupable = m_Groupable;
            column.m_UseAllRows = m_UseAllRows;
            column.m_AllowEdit = m_AllowEdit;
            column.m_AllowUpdate = m_AllowUpdate;
            column.m_HtmlEncode = m_HtmlEncode;
            column.m_Cssclass = m_Cssclass;
            column.m_CssclassTitle = m_CssclassTitle;

            column.m_Rowspan = m_Rowspan;
            column.m_NonBreaking = m_NonBreaking;
            column.m_Texttruncate = m_Texttruncate;
            column.m_NewRowInGrid = m_NewRowInGrid;
            column.m_HideDetailTitle = m_HideDetailTitle;
            column.m_NewRowInDetail = m_NewRowInDetail;
            column.m_DataSourcePrimaryKeys = m_DataSourcePrimaryKeys;
            column.m_LoadColumnDataSourceData = m_LoadColumnDataSourceData;
            column.m_DataSourceId = m_DataSourceId;
            column.m_FilterByColumn = m_FilterByColumn;
            column.m_EnableFilterByColumn = m_EnableFilterByColumn;
            column.m_PreDetailText = m_PreDetailText;
            column.m_PreGridText = m_PreGridText;
            column.m_PostDetailText = m_PostDetailText;
            column.m_PostGridText = m_PostGridText;
            column.m_AutoPostback = m_AutoPostback;
            column.m_ForcePostBack = m_ForcePostBack;
            column.m_SystemMessageStyle = m_SystemMessageStyle;
            column.m_SystemMessage = m_SystemMessage;
            column.m_ConfirmMessage = m_ConfirmMessage;
            column.m_ValidExpression = m_ValidExpression;
            column.m_Tag = m_Tag;
            column.m_UniqueValueRequired = m_UniqueValueRequired;
            column.m_Attributes = m_Attributes;
            column.m_DisableMaskedInput = m_DisableMaskedInput;

            column.m_MaskedInput = m_MaskedInput;
            column.m_HideIfEmpty = m_HideIfEmpty;
            column.m_AllowEditInGrid = m_AllowEditInGrid;
            column.m_GridModeEditTransparent = m_GridModeEditTransparent;
            column.IsCreatedByWebGrid = IsCreatedByWebGrid;

            column.m_TooltipEditTitle = m_TooltipEditTitle;
            column.m_TooltipGridHeaderTitle = m_TooltipGridHeaderTitle;
            column.m_ToolTipInput = m_ToolTipInput;
            column.m_DefaultDataSourceId = m_DefaultDataSourceId;
            column.m_defaultValue = m_defaultValue;
             /*   column.m_GridViewTemplate = m_GridViewTemplate;
            column.m_GridViewTemplateCache = m_GridViewTemplateCache;
            column.m_DetailViewTemplate = m_DetailViewTemplate;
            column.m_DetailViewTemplateCache = m_DetailViewTemplateCache;*/
             if (Grid.Trace.IsTracing)
                Grid.Trace.Trace("Column ({0}) ended CopyTo.", ColumnId);
            return column;
        }
Example #21
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.DateTime) return;
     DateTime c = (DateTime)column;
     m_Format = c.m_Format;
     m_DisplayCalendar = c.m_DisplayCalendar;
     m_CalendarFormat = c.m_CalendarFormat;
     m_AddCalendarClientAttributes = c.m_AddCalendarClientAttributes;
     m_Searchfilter = c.m_Searchfilter;
 }
Example #22
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.Decimal)
     {
         Decimal c = (Decimal)base.CopyTo(column);
         c.m_Format = m_Format;
         c.m_Sum = m_Sum;
         c.m_Totalsum = m_Totalsum;
         c.m_DisplayTotalSummary = m_DisplayTotalSummary;
         return c;
     }
     return base.CopyTo(column);
 }
Example #23
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.DateTime)
     {
         DateTime c = (DateTime)base.CopyTo(column);
         c.m_Format = m_Format;
         c.m_DisplayCalendar = m_DisplayCalendar;
         c.m_CalendarFormat = m_CalendarFormat;
         c.m_AddCalendarClientAttributes = m_AddCalendarClientAttributes;
         c.m_Searchfilter = m_Searchfilter;
         return c;
     }
     return base.CopyTo(column);
 }
Example #24
0
        internal override Column CopyTo(Column column)
        {
            if (column is ColumnTemplate)
            {
                ColumnTemplate c = (ColumnTemplate)base.CopyTo(column);

                //   c.m_DetailContainer = m_DetailContainer;
                c.m_GridViewTemplate = m_GridViewTemplate;

                c.m_DetailViewTemplate = m_DetailViewTemplate;

                c.m_DetailTemplateContainer = m_DetailTemplateContainer;
                return c;
            }
            return base.CopyTo(column);
        }
Example #25
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.Number) return;
     ToolTipColumn c = (ToolTipColumn)column;
     BeforeToolTipRender = c.BeforeToolTipRender;
     HideMethod = c.HideMethod;
     ShowMethod = c.ShowMethod;
     ToolTipHeight = c.ToolTipHeight;
     ToolTipWidth = c.ToolTipWidth;
     ToolTipClientId = c.ToolTipClientId;
     ContentText = c.ContentText;
     Text = c.Text;
     CloseButtonText = c.CloseButtonText;
 }
Example #26
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.Image)
     {
         Image c = (Image)base.CopyTo(column);
         c.m_PopupImageDisplayType = m_PopupImageDisplayType;
         c.m_Directory = m_Directory;
         c.m_HideImage = m_HideImage;
         c.m_AllowExtensions = m_AllowExtensions;
         c.m_DenyExtensions = m_DenyExtensions;
         c.m_DisplayFileName = m_DisplayFileName;
         c.m_FileNameOption = m_FileNameOption;
         c.m_FileTemporaryMode = m_FileTemporaryMode;
         c.m_FileName = m_FileName;
         c.m_PopupImageColumn = m_PopupImageColumn;
         c.m_Sizes = m_Sizes;
         c.m_FileName = m_FileName;
         c.FileNameColumn = base.FileNameColumn;
         c.IsBlob = base.IsBlob;
         c.m_PopupImageCaption = m_PopupImageCaption;
         return c;
     }
     base.CopyTo(column);
     column.Sortable = false;
     return column;
 }
Example #27
0
 internal override Column CopyTo(Column column)
 {
     if (column.ColumnType == ColumnType.Number)
     {
         ToolTipColumn c = (ToolTipColumn)base.CopyTo(column);
         c.BeforeToolTipRender = BeforeToolTipRender;
         c.HideMethod = HideMethod;
         c.ShowMethod = ShowMethod;
         c.ToolTipHeight = ToolTipHeight;
         c.ToolTipWidth = ToolTipWidth;
         c.Text = Text;
         c.ContentText = ContentText;
         c.ToolTipClientId = ToolTipClientId;
         c.CloseButtonText = CloseButtonText;
         return c;
     }
     return base.CopyTo(column);
 }
Example #28
0
        internal override Column CopyTo(Column column)
        {
            if (column.ColumnType == ColumnType.Foreignkey)
            {
                Foreignkey fk = (Foreignkey)base.CopyTo(column);
                fk.m_ForeignkeyTable = m_ForeignkeyTable;
                fk.m_ConnectionString = m_ConnectionString;
                fk.m_ConnectionStringSet = m_ConnectionStringSet;
                fk.m_ValueColumn = m_ValueColumn;

                fk.m_Foreignkeytype = m_Foreignkeytype;
                fk.m_SelectMenuWidth = m_SelectMenuWidth;
                fk.m_SelectMenuMaxHeight = m_SelectMenuMaxHeight;

                fk.m_FilterExpression = m_FilterExpression;
                fk.m_TreeParentId = m_TreeParentId;
                fk.m_SortExpression = m_SortExpression;

                fk.m_EnableOnlyTreeLeaf = m_EnableOnlyTreeLeaf;
                fk.m_RecordsPerRow = m_RecordsPerRow;
                fk.m_TreeStructureSeperator = m_TreeStructureSeperator;
                fk.m_RememberState = m_RememberState;
                fk.m_identityColumn = m_identityColumn;
                return fk;
            }
            return base.CopyTo(column);
        }
Example #29
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     if (column.ColumnType != ColumnType.ManyToMany) return;
     ManyToMany mk = (ManyToMany)column;
     m_ForeignDataSource = mk.m_ForeignDataSource;
     m_ValueColumn = mk.m_ValueColumn;
     m_Manytomanytype = mk.m_Manytomanytype;
     m_ForeignIdentityColumn = mk.m_ForeignIdentityColumn;
     m_MatrixidentityColumn = mk.m_MatrixidentityColumn;
     m_MatrixDatasource = mk.m_MatrixDatasource;
     m_FilterExpression = mk.m_FilterExpression;
     ConnectionString = mk.ConnectionString;
     m_TreeParentId = mk.m_TreeParentId;
     m_RecordsPerRow = mk.m_RecordsPerRow;
     m_SortExpression = mk.m_SortExpression;
     m_CheckedAlias = mk.m_CheckedAlias;
     m_UncheckedAlias = mk.m_UncheckedAlias;
     m_MatrixTable = mk.m_MatrixTable;
 }