Version: 15.0

    Show / Hide Table of Contents

    Class NamedDatabase<TValue>

    Inheritance
    System.Object
    APIBase
    Database<NamedKey, TValue>
    SQLDatabase<NamedKey, TValue>
    NamedDatabase<TValue>
    ISO14179SettingsDatabase
    BearingSettingsDatabase
    BoltedJointMaterialDatabase<T>
    BoltGeometryDatabase
    BevelHypoidGearDesignSettingsDatabase
    BevelHypoidGearRatingSettingsDatabase
    CylindricalGearDesignConstraintsDatabase
    CylindricalGearMicroGeometrySettingsDatabase
    DesignConstraintCollectionDatabase
    ManufacturingMachineDatabase
    CylindricalCutterDatabase<T>
    GearMaterialDatabase<T>
    ISOTR1417912001CoefficientOfFrictionConstantsDatabase
    RawMaterialDatabase
    PocketingPowerLossCoefficientsDatabase
    CylindricalGearDesignAndRatingSettingsDatabase
    CylindricalPlasticGearRatingSettingsDatabase
    BearingMaterialDatabase
    ComponentMaterialDatabase
    FluidDatabase
    LubricationDetailDatabase
    MaterialDatabase<T>
    MaterialsSettingsDatabase
    DesignSpaceSearchStrategyDatabase
    AnalysisSettingsDatabase
    ShaftSettingsDatabase
    ConicalGearOptimizationStrategyDatabase
    CylindricalGearFlankOptimisationParametersDatabase
    OptimizationStrategyDatabase
    SuperchargerRotorSetDatabase
    Implements
    System.IEquatable<APIBase>
    Inherited Members
    SQLDatabase<NamedKey, TValue>.Delete(NamedKey)
    SQLDatabase<NamedKey, TValue>.Reload(TaskProgress, Boolean)
    SQLDatabase<NamedKey, TValue>.Save(TValue)
    SQLDatabase<NamedKey, TValue>.AllowNetworkDatabase
    SQLDatabase<NamedKey, TValue>.Name
    SQLDatabase<NamedKey, TValue>.UsesDatabase
    Database<NamedKey, TValue>.CanBeRemoved(TValue)
    Database<NamedKey, TValue>.GetAllItems()
    Database<NamedKey, TValue>.Count
    APIBase.DisconnectFromMASTA()
    APIBase.GetProperty<T>(String)
    APIBase.SetProperty(String, Object)
    APIBase.clearCachedRpds()
    APIBase.getNamedObjectList<TElementType>(String)
    APIBase.getExpandableProperty<TReturnType>(String)
    APIBase.callPartialMethod(String, [])
    APIBase.callPartialMethod<T>(String, T)
    APIBase.callPartialMethod<T>(String, , T)
    APIBase.callPartialMethod<T>(String, , , T)
    APIBase.callPartialMethod<T>(String, , , , T)
    APIBase.callPartialMethod<T1, T2>(String, , T1, T2)
    APIBase.getPartialProperty(String)
    APIBase.setPartialProperty(String, Object)
    APIBase.IsValid(String)
    APIBase.IsReadOnly(String)
    APIBase.DocumentationUrl()
    APIBase.ToString()
    APIBase.RunPython<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String)
    APIBase.RunPython<T>(String, String)
    APIBase.RunPython(String, String, Object)
    APIBase.createWrappedRange(Double, Double)
    APIBase.createWrappedVector2D(Double, Double)
    APIBase.createWrappedPosition3D(Double, Double, Double)
    APIBase.ToListWithSelectedItem<T>(IEnumerable<T>)
    APIBase.ToListWithSelectedItem<T>(T, IEnumerable<T>)
    APIBase.Equals(APIBase)
    APIBase.GetHashCode()
    APIBase.Equals(Object)
    APIBase.InvalidProperties
    APIBase.ReadOnlyProperties
    APIBase.AllPropertiesAreReadOnly
    APIBase.AllPropertiesAreInvalid
    APIBase.cacheRpds
    APIBase.isInvalid
    Namespace: SMT.MastaAPI.Utility.Databases
    Assembly: SMT.MastaAPI.15.0.dll
    Syntax
    public abstract class NamedDatabase<TValue> : SQLDatabase<NamedKey, TValue>, IEquatable<APIBase> where TValue : NamedDatabaseItem
    Type Parameters
    Name Description
    TValue

    Methods

    Create(String)

    Declaration
    public TValue Create(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    TValue

    Duplicate(String, NamedDatabaseItem)

    Declaration
    public NamedDatabaseItem Duplicate(string newName, NamedDatabaseItem item)
    Parameters
    Type Name Description
    System.String newName
    NamedDatabaseItem item
    Returns
    Type Description
    NamedDatabaseItem

    GetValue(String)

    Declaration
    public TValue GetValue(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    TValue

    Rename(NamedDatabaseItem, String)

    Declaration
    public bool Rename(NamedDatabaseItem item, string newName)
    Parameters
    Type Name Description
    NamedDatabaseItem item
    System.String newName
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>

    Extension Methods

    UtilityMethods.IsReadOnly<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsValid<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsMethodValid<T>(T, Expression<Func<T, Action>>)
    UtilityMethods.IsMethodReadOnly<T>(T, Expression<Func<T, Action>>)
    Back to top