C# 클래스 BExIS.IO.Transform.Output.DataWriter

DataWriter is an abstract class that has basic functions for storing file.
파일 보기 프로젝트 열기: BEXIS2/Core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
DatasetManager BExIS.Dlm.Services.Data.DatasetManager
VariableIdentifierRows List>
VariableIdentifiers List
dataStructure BExIS.Dlm.Entities.DataStructure.StructuredDataStructure

공개 메소드들

메소드 설명
CreateFile ( string filepath ) : string
CreateFile ( string path, string filename ) : string
DataWriter ( ) : System

GetDataStructureTemplatePath ( long dataStructureId, string extention ) : string

GetDynamicStorePath ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string

GetDynamicStorePathOriginalFile ( long datasetId, long datasetVersionOrderNr, string filename ) : string

GetFullStorePath ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string

Create the general store path under AppConfiguration.DataPath with filename

GetFullStorePathOriginalFile ( long datasetId, long datasetVersionOrderNr, string filename ) : string

GetNewTitle ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string

Returns a Title based on incoming parameters

GetStorePath ( long datasetId, long datasetVersionOrderNr ) : string

Generate the gernal store path based on AppConfiguration.DataPath without filename

GetTitle ( long id ) : String

Open ( string fileName ) : FileStream

If file exist open a FileStream

보호된 메소드들

메소드 설명
GetDataStructure ( ) : StructuredDataStructure
GetDataStructure ( long id ) : StructuredDataStructure

GetFormatedValue ( object value, Dlm datatype, string format ) : string
GetStringFormat ( Dlm datatype ) : string
GetSubsetOfVariableValues ( List source, String selected ) : List

select a subset of the variables from a datastructure based on a list of variablenames

GetSubsetOfVariables ( List source, String selected ) : List

select a subset of the variables from a datastructure based on a list of variablenames

createDicrectoriesIfNotExist ( string path ) : void

메소드 상세

CreateFile() 공개 메소드

public CreateFile ( string filepath ) : string
filepath string
리턴 string

CreateFile() 공개 메소드

public CreateFile ( string path, string filename ) : string
path string
filename string
리턴 string

DataWriter() 공개 메소드

public DataWriter ( ) : System
리턴 System

GetDataStructure() 보호된 메소드

protected GetDataStructure ( ) : StructuredDataStructure
리턴 BExIS.Dlm.Entities.DataStructure.StructuredDataStructure

GetDataStructure() 보호된 메소드

protected GetDataStructure ( long id ) : StructuredDataStructure
id long
리턴 BExIS.Dlm.Entities.DataStructure.StructuredDataStructure

GetDataStructureTemplatePath() 공개 메소드

public GetDataStructureTemplatePath ( long dataStructureId, string extention ) : string
dataStructureId long
extention string
리턴 string

GetDynamicStorePath() 공개 메소드

public GetDynamicStorePath ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string
datasetId long
datasetVersionOrderNr long
title string
extention string
리턴 string

GetDynamicStorePathOriginalFile() 공개 메소드

public GetDynamicStorePathOriginalFile ( long datasetId, long datasetVersionOrderNr, string filename ) : string
datasetId long
datasetVersionOrderNr long
filename string
리턴 string

GetFormatedValue() 보호된 메소드

protected GetFormatedValue ( object value, Dlm datatype, string format ) : string
value object
datatype Dlm
format string
리턴 string

GetFullStorePath() 공개 메소드

Create the general store path under AppConfiguration.DataPath with filename
public GetFullStorePath ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string
datasetId long
datasetVersionOrderNr long
title string
extention string
리턴 string

GetFullStorePathOriginalFile() 공개 메소드

public GetFullStorePathOriginalFile ( long datasetId, long datasetVersionOrderNr, string filename ) : string
datasetId long
datasetVersionOrderNr long
filename string
리턴 string

GetNewTitle() 공개 메소드

Returns a Title based on incoming parameters
public GetNewTitle ( long datasetId, long datasetVersionOrderNr, string title, string extention ) : string
datasetId long
datasetVersionOrderNr long
title string
extention string
리턴 string

GetStorePath() 공개 메소드

Generate the gernal store path based on AppConfiguration.DataPath without filename
public GetStorePath ( long datasetId, long datasetVersionOrderNr ) : string
datasetId long
datasetVersionOrderNr long
리턴 string

GetStringFormat() 보호된 메소드

protected GetStringFormat ( Dlm datatype ) : string
datatype Dlm
리턴 string

GetSubsetOfVariableValues() 보호된 메소드

select a subset of the variables from a datastructure based on a list of variablenames
protected GetSubsetOfVariableValues ( List source, String selected ) : List
source List full list of variables
selected String variablenames
리턴 List

GetSubsetOfVariables() 보호된 메소드

select a subset of the variables from a datastructure based on a list of variablenames
protected GetSubsetOfVariables ( List source, String selected ) : List
source List full list of variables
selected String variablenames
리턴 List

GetTitle() 공개 메소드

public GetTitle ( long id ) : String
id long
리턴 String

Open() 공개 정적인 메소드

If file exist open a FileStream
public static Open ( string fileName ) : FileStream
fileName string
리턴 System.IO.FileStream

createDicrectoriesIfNotExist() 보호된 메소드

protected createDicrectoriesIfNotExist ( string path ) : void
path string
리턴 void

프로퍼티 상세

DatasetManager 보호되어 있는 프로퍼티

protected DatasetManager,BExIS.Dlm.Services.Data DatasetManager
리턴 BExIS.Dlm.Services.Data.DatasetManager

VariableIdentifierRows 보호되어 있는 프로퍼티

protected List> VariableIdentifierRows
리턴 List>

VariableIdentifiers 보호되어 있는 프로퍼티

List of VariableIdentifiers with VariableName and VariableID
protected List VariableIdentifiers
리턴 List

dataStructure 보호되어 있는 프로퍼티

protected StructuredDataStructure,BExIS.Dlm.Entities.DataStructure dataStructure
리턴 BExIS.Dlm.Entities.DataStructure.StructuredDataStructure