DotNetWorkQueue.Transport.SqlServer.Schema.Identity.Clone C# (CSharp) Method

Clone() public method

Clones this instance.
public Clone ( ) : Identity
return Identity
        public Identity Clone()
        {
            return new Identity(Seed, Increment);
        }
        #endregion

Usage Example

Example #1
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns></returns>
        public Column Clone()
        {
            var rc = new Column {
                Default = Default
            };

            if (Identity != null)
            {
                rc.Identity = Identity.Clone();
            }
            rc.Nullable  = Nullable;
            rc.Length    = Length;
            rc.Name      = Name;
            rc.Position  = Position;
            rc.Precision = Precision;
            rc.Scale     = Scale;
            rc.Type      = Type;
            return(rc);
        }
All Usage Examples Of DotNetWorkQueue.Transport.SqlServer.Schema.Identity::Clone