Class DomainDataImporter
Inheritance
System.Object
DomainDataImporter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.Data
Assembly: Mars.Common.dll
Syntax
public static class DomainDataImporter
Methods
| Improve this Doc View SourceImport(IEnumerable<Object>, InputConfiguration)
This function provides a
generic
import of several source and
should always be used first used, when using and transforming external data into the model.
The import distinguish between different formats and files and transform each data entry as an compromising
data object implementing the intermediate format model IDomainData used everywhere in the system.
Declaration
public static IEnumerable<IDomainData> Import(this IEnumerable<object> dataResources, InputConfiguration inputConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Object> | dataResources | The input data object, objects, resources or files to access. |
InputConfiguration | inputConfiguration | The optional input configuration used to read this source correctly. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> | Returns an iterator on all containing data entries which are resolved only when they are accessed. IStringData IStructuredData IMarsFeature IGeometryData IStructuredDataGeometry |
Remarks
This method only returns isolated data objects, each contained in this source or sources and does not integrated
them with each other.
|
Improve this Doc
View Source
Import(Object, InputConfiguration)
This function provides a
generic
import of several files, structures, sources, resource
should always be used first, when using external data within the model.
The import distinguish between different formats and files and transform each data entry as an compromising
data object implementing the intermediate format model IDomainData used everywhere in the system.
Declaration
public static IEnumerable<IDomainData> Import(this object dataInput, InputConfiguration inputConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataInput | The input data object, objects, resources or files to access. |
InputConfiguration | inputConfiguration | The optional input configuration used to read this source correctly. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> | Returns an iterator on all containing data entries which are resolved only when they are accessed. IStringData IStructuredData IMarsFeature IGeometryData IStructuredDataGeometry |
Remarks
This method only returns isolated data objects, each contained in this source or sources and does not integrated
them with each other.