C# 클래스 BExIS.Dlm.Services.DataStructure.UnitManager

파일 보기 프로젝트 열기: BEXIS2/Core 1 사용 예제들

공개 메소드들

메소드 설명
AddAssociatedDataType ( Unit end1, DataType end2 ) : bool
AddAssociatedDataType ( Unit end1, IEnumerable end2 ) : bool
Create ( string name, string description, string specification ) : Dimension
Create ( string name, string abbreviation, string description, Dimension dimension, MeasurementSystem measurementSystem ) : Unit
CreateConversionMethod ( string formula, string description, Unit source, Unit target ) : ConversionMethod

if there is no conversion method between source and target units, creates one otherwise fails

Delete ( Dimension entity ) : bool
Delete ( IEnumerable entities ) : bool
Delete ( IEnumerable entities ) : bool
Delete ( Unit entity ) : bool
DeleteConversionMethod ( ConversionMethod entity ) : bool

Deletes the proveded conversion method, but does not touch the source and target units

DeleteConversionMethod ( IEnumerable entities ) : bool
RemoveAssociatedDataType ( Unit end1, DataType end2 ) : bool
RemoveAssociatedDataType ( Unit end1, IEnumerable end2 ) : bool
UnitManager ( ) : System
Update ( Dimension entity ) : Dimension
Update ( Unit entity ) : Unit
UpdateConversionMethod ( ConversionMethod entity ) : ConversionMethod

메소드 상세

AddAssociatedDataType() 공개 메소드

public AddAssociatedDataType ( Unit end1, DataType end2 ) : bool
end1 BExIS.Dlm.Entities.DataStructure.Unit
end2 BExIS.Dlm.Entities.DataStructure.DataType
리턴 bool

AddAssociatedDataType() 공개 메소드

public AddAssociatedDataType ( Unit end1, IEnumerable end2 ) : bool
end1 BExIS.Dlm.Entities.DataStructure.Unit
end2 IEnumerable
리턴 bool

Create() 공개 메소드

public Create ( string name, string description, string specification ) : Dimension
name string
description string
specification string
리턴 BExIS.Dlm.Entities.DataStructure.Dimension

Create() 공개 메소드

public Create ( string name, string abbreviation, string description, Dimension dimension, MeasurementSystem measurementSystem ) : Unit
name string
abbreviation string
description string
dimension BExIS.Dlm.Entities.DataStructure.Dimension
measurementSystem MeasurementSystem
리턴 BExIS.Dlm.Entities.DataStructure.Unit

CreateConversionMethod() 공개 메소드

if there is no conversion method between source and target units, creates one otherwise fails
public CreateConversionMethod ( string formula, string description, Unit source, Unit target ) : ConversionMethod
formula string
description string
source BExIS.Dlm.Entities.DataStructure.Unit
target BExIS.Dlm.Entities.DataStructure.Unit
리턴 BExIS.Dlm.Entities.DataStructure.ConversionMethod

Delete() 공개 메소드

public Delete ( Dimension entity ) : bool
entity BExIS.Dlm.Entities.DataStructure.Dimension
리턴 bool

Delete() 공개 메소드

public Delete ( IEnumerable entities ) : bool
entities IEnumerable
리턴 bool

Delete() 공개 메소드

public Delete ( IEnumerable entities ) : bool
entities IEnumerable
리턴 bool

Delete() 공개 메소드

public Delete ( Unit entity ) : bool
entity BExIS.Dlm.Entities.DataStructure.Unit
리턴 bool

DeleteConversionMethod() 공개 메소드

Deletes the proveded conversion method, but does not touch the source and target units
public DeleteConversionMethod ( ConversionMethod entity ) : bool
entity BExIS.Dlm.Entities.DataStructure.ConversionMethod
리턴 bool

DeleteConversionMethod() 공개 메소드

public DeleteConversionMethod ( IEnumerable entities ) : bool
entities IEnumerable
리턴 bool

RemoveAssociatedDataType() 공개 메소드

public RemoveAssociatedDataType ( Unit end1, DataType end2 ) : bool
end1 BExIS.Dlm.Entities.DataStructure.Unit
end2 BExIS.Dlm.Entities.DataStructure.DataType
리턴 bool

RemoveAssociatedDataType() 공개 메소드

public RemoveAssociatedDataType ( Unit end1, IEnumerable end2 ) : bool
end1 BExIS.Dlm.Entities.DataStructure.Unit
end2 IEnumerable
리턴 bool

UnitManager() 공개 메소드

public UnitManager ( ) : System
리턴 System

Update() 공개 메소드

public Update ( Dimension entity ) : Dimension
entity BExIS.Dlm.Entities.DataStructure.Dimension
리턴 BExIS.Dlm.Entities.DataStructure.Dimension

Update() 공개 메소드

public Update ( Unit entity ) : Unit
entity BExIS.Dlm.Entities.DataStructure.Unit
리턴 BExIS.Dlm.Entities.DataStructure.Unit

UpdateConversionMethod() 공개 메소드

public UpdateConversionMethod ( ConversionMethod entity ) : ConversionMethod
entity BExIS.Dlm.Entities.DataStructure.ConversionMethod
리턴 BExIS.Dlm.Entities.DataStructure.ConversionMethod