C# 클래스 GSF.Historian.MetadataProviders.MetadataUpdater

A class that can update data in a MetadataFile.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
MetadataUpdater ( MetadataFile metadata ) : System

Initializes a new instance of the MetadataUpdater class.

UpdateMetadata ( DataTable tableData ) : void

Updates the Metadata from tableData

UpdateMetadata ( IDataReader readerData ) : void

Updates the Metadata from readerData

UpdateMetadata ( Stream streamData, SerializationFormat dataFormat ) : void

Updates the Metadata from streamData

메소드 상세

MetadataUpdater() 공개 메소드

Initializes a new instance of the MetadataUpdater class.
is null
public MetadataUpdater ( MetadataFile metadata ) : System
metadata MetadataFile that is to be updated.
리턴 System

UpdateMetadata() 공개 메소드

Updates the Metadata from tableData
is null. does not contain 43 columns.
public UpdateMetadata ( DataTable tableData ) : void
tableData System.Data.DataTable containing the new metadata.
리턴 void

UpdateMetadata() 공개 메소드

Updates the Metadata from readerData
is null. does not contain 43 columns.
public UpdateMetadata ( IDataReader readerData ) : void
readerData IDataReader providing the new metadata.
리턴 void

UpdateMetadata() 공개 메소드

Updates the Metadata from streamData
public UpdateMetadata ( Stream streamData, SerializationFormat dataFormat ) : void
streamData Stream containing serialized .
dataFormat SerializationFormat in which the was serialized to .
리턴 void