API Help
Eplan.EplApi.MasterData Namespace / MDPartsDatabase Class
Members

In This Topic
    MDPartsDatabase Class
    In This Topic
    This is the class that represents a parts database
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.MasterData.MDPartsDatabase

    Syntax
    public class MDPartsDatabase 
    public ref class MDPartsDatabase 
    Remarks
    It's possible to work on other parts database that configured in the EPLAN Settings
    Public Properties
     NameDescription
    Public PropertyGets all accessory lists that are stored in the parts database. They are sorted by it's name.  
    Public PropertyGets all accessory lists that are stored in the parts database. They are sorted by it's name.  
    Public PropertyGets all connection point infos that are stored in the parts database.  
    Public PropertyGets all constructions that are stored in the parts database.  
    Public PropertyGets all customers that are stored in the parts database.  
    Public PropertyReturns true if the parts database is open. (or connected if sql-server is used)  
    Public PropertyReturns true if the parts database is read only. That can be if the access database file has read only attribute set, or the SQL Server has write restrictions to the current user.  
    Public PropertyTest, whether the scheme of the database is up to date.  
    Public PropertyGets all customers that are stored in the parts database.  
    Public PropertyGets all parts that are stored in the parts database.  
    Public PropertyReturns the type of the database (SQL or Access)  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a new accessory list to the parts database  
    Public MethodAdds a new accessory placement to the parts database  
    Public MethodAdds a new connection point info to the parts data  
    Public MethodAdds a new construction to the parts database  
    Public MethodAdds a new customer to the parts database.  
    Public MethodAdds a new manufacturer to the parts data  
    Public MethodOverloaded. Adds a new part into the parts database. If it's not possible (because there is already a part with that partnr and variant) an MDInvalidArgumentException will be thrown  
    Public MethodCloses the database  
    Public MethodCreates new function templates out of the macro that is referenced from all the parts in the parts database.  
    Public MethodCreates a new database transaction.  
    Public MethodDestructor for deterministic finalization of MDPartsDatabase object.  
    Public MethodChecks if a connection point info with the given name exists.  
    Public MethodChecks if a construction with the given name exists.  
    Public MethodChecks if a customer info with the given short name exists.  
    Public MethodChecks if a manufacturer / supplier info with the given short name exists.  
    Public MethodChecks if a part with the given part number exists.  
    Public MethodGets a accessory list with the given name that is stored in the parts database.  
    Public MethodGets a accessory placement with the given name that is stored in the parts database.  
    Public MethodGets a connection point info with the given name that is stored in the parts database.  
    Public MethodGets a construction with the given name that is stored in the parts database.  
    Public MethodGets a customers that ist stored in the parts database.  
    Public MethodGets a manufacturer with the given name that is stored in the parts database.  
    Public MethodOverloaded. Gets the part with the given part number. If there are several variants of that part, the first one is taken. First means, that if you sort that parts by their variant that the topmost variant is taken.  
    Public MethodOverloaded. Gets filtered parts. When the filter is empty, than all parts are read.  
    Public MethodRemoves a accessory list out of the parts datbase.  
    Public MethodRemoves a accessory placement out of the parts datbase.  
    Public MethodRemoves a connection point info out of the parts database.  
    Public MethodRemoves a construction out of the parts database.  
    Public MethodRemoves a customer out of the parts database.  
    Public MethodRemoves a manufacturer out of the parts database.  
    Public MethodRemoves the given part from the parts database.  
    Public MethodMethod checks if there is newer version of part in EPLAN Data Portal. If newer version of part is found then update is performed.  
    Public MethodUpdates the scheme of the database.  
    Public MethodUpdates the database search index used for full text search.  
    Top
    See Also