xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
19 lines (18 loc) • 658 B
TypeScript
/// <reference types="xrm" />
export declare class AttributeMetadataMock implements Xrm.Metadata.AttributeMetadata {
DefaultFormValue: number;
LogicalName: string;
DisplayName: string;
AttributeType: XrmEnum.AttributeTypeCode;
EntityLogicalName: string;
OptionSet: Xrm.Metadata.OptionMetadata[];
constructor(components: IAttributeMetadataComponents);
}
export interface IAttributeMetadataComponents {
DefaultFormValue?: number;
LogicalName?: string;
DisplayName?: string;
AttributeType?: XrmEnum.AttributeTypeCode;
EntityLogicalName?: string;
OptionSet?: Xrm.Metadata.OptionMetadata[];
}