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
    object
    DatabaseExtensionMethods
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Setup
    Assembly: DesignData.SDS2.Setup.dll
    Syntax
    public static class DatabaseExtensionMethods

    Methods

    Add(Transaction, Fabricator)

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

    Declaration
    public static void Add(this Transaction transaction, Fabricator fabricator)
    Parameters
    Type Name Description
    Transaction transaction
    Fabricator fabricator

    Add(Transaction, Job)

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

    Declaration
    public static void Add(this Transaction transaction, Job job)
    Parameters
    Type Name Description
    Transaction transaction
    Job job

    Add(Transaction, MaterialFile)

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

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

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

    Back to top