Show / Hide Table of Contents

    Class DatabaseExtensionMethods

    Extension methods for DesignData.SDS2.Database. These are all convenience methods and will appear to be on classes in DesignData.SDS2.Database.

    Inheritance
    System.Object
    DatabaseExtensionMethods
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: DesignData.SDS2.Detail
    Assembly: DesignData.SDS2.Detail.dll
    Syntax
    public static class DatabaseExtensionMethods

    Methods

    Add(Transaction, Drawing)

    Add a drawing to the transaction so that it can be modified. You will need to Lock() again after adding drawings.

    Declaration
    public static void Add(this Transaction transaction, Drawing drawing)
    Parameters
    Type Name Description
    Transaction transaction
    Drawing drawing
    Remarks

    This is the same as transaction.Add(drawing.Handle);

    Back to top