Beispiel #1
0
 public DumpingBuffer()
 {
     buffer  = new List <Tuple <Codes, int> >();
     dp      = new DumpingProperty();
     CD      = new CollectionDescription();
     DeltaCD = new DeltaCD();
 }
Beispiel #2
0
        /*public CollectionDescription Add { get; set; }
         * public CollectionDescription Update { get; set; }
         * public CollectionDescription Remove { get; set; }
         */

        public DeltaCD()
        {
            collectionDescription = new CollectionDescription();

            /* Add = new List<CollectionDescription>();
             * Update = new List<CollectionDescription>();
             * Remove = new List<CollectionDescription>();*/
        }
Beispiel #3
0
        public CollectionDescription CreateCDForDeltaCD(DumpingProperty dp)
        {
            CollectionDescription collectionDescription = new CollectionDescription();

            collectionDescription.ID = id;
            id++;
            if (propertiesUnmached[0] != null)
            {
                collectionDescription.DCollection.AddRange(propertiesUnmached);
            }
            propertiesUnmached.Clear();
            return(collectionDescription);
        }