Example #1
0
        // copie
        public IEntity Copy(IEntity _dst, IEntity _src)
        {
            EditorStates src = _src as EditorStates;
            EditorStates dst = _dst as EditorStates;

            if (src == null || dst == null)
            {
                return(null);
            }

            // Version
            dst.version = src.version;
            // SelectedDatabaseSourceId
            dst.selecteddatabasesourceid = src.selecteddatabasesourceid;
            return(dst);
        }
Example #2
0
 // copie
 public EditorStates(EditorStates src) : this()
 {
     Copy(this, src);
 }