←Select platform

GetCountMetadataJson Method

Summary

Returns the count of existing, missing, or all JSON metadata records in a database.

Syntax
C#
public int GetCountMetadataJson( 
   MetadataScope scope 
) 

Parameters

scope

An enumeration that specifies if the count is for existing, missing, or all JSON metadata records.

Return Value

The count of existing, missing, or all JSON metadata records in a database.

Remarks

The database contains

  • Instance table that stores the SOP Instance UIDs (0008,0018) of all instances
  • MetadataJson table that stores JSON metadata for all instances
  • MetadataXml table that stores XML metadata for all instances

  • If scope is MetadataScope.All then GetCountMetadataJson returns the count of instances in the Instance table.

  • If scope is MetadataScope.Existing then GetCountMetadataJson returns (count of instances in the MetadataJson table).

  • If scope is MetadataScope.Missing then GetCountMetadataJson returns (count of instances in the Instance table) minus (count of instances in the MetadataJson table).

Example

For an example, refer to IStorageDataAccessAgent4.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly