Class ModelMetadataSourceInfo
- Inheritance
-
ModelMetadataSourceInfo
- Implements
-
- Inherited Members
-
- Namespace
- TabularEditor.TOMWrapper
- Assembly
- TOMWrapper.dll
Provides additional metadata about a model, including its source and type.
public record ModelMetadataSourceInfo : IEquatable<ModelMetadataSourceInfo>
- Extension Methods
-
Constructors
protected ModelMetadataSourceInfo(ModelMetadataSourceInfo original)
Parameters
Properties
protected virtual Type EqualityContract { get; }
Property Value
If the model metadata is loaded from a PBIP folder structure, this object will hold additional information parsed from the .platform file in that folder
public PbipInfo Pbip { get; }
Property Value
A string representing the file path of the model metadata source (if loaded from disk), or the connection string (if loaded through the XMLA endpoint)
public string Source { get; }
Property Value
Specifies which format the model metadata source is using (TMSL, TMDL, etc.) or if the model metadata was loaded through an XMLA endpoint
public ModelSourceType SourceType { get; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public virtual bool Equals(ModelMetadataSourceInfo? other)
Parameters
Returns
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
public override string ToString()
Returns
Operators
public static bool operator ==(ModelMetadataSourceInfo? left, ModelMetadataSourceInfo? right)
Parameters
Returns
public static bool operator !=(ModelMetadataSourceInfo? left, ModelMetadataSourceInfo? right)
Parameters
Returns