DataStorePackerExtensions class
.NET Standard 2.x
The class contains the IDataPacker
extension methods that enable you to use an IDataPacker
object to pack an IDataStore
object.
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Syntax
public static class DataStorePackerExtensions
Extension Methods
Method | Return Type | Description |
---|---|---|
AddDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]IDataStore value,[NotNull]bool format = false) | void | Adds an IDataStore object as an element to the IDataPacker object. |
AddDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]IDataStore value,[NotNull]bool format,[NotNull]bool changedOnly) | void | Adds an IDataStore object as an element to the IDataPacker object, and specifies whether to export only the changed data from the IDataStore object. |
AddDataStore<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]IDataStore<TModel> value,[NotNull]bool format = false) | void | Adds an IDataStore object as an element to the IDataPacker object. |
AddDataStore<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]IDataStore<TModel> value,[NotNull]bool format,[NotNull]bool changedOnly) | void | Adds an IDataStore object as an element to the IDataPacker object, and specifies whether to export only the changed data from the IDataStore object. |
AddModelEntries<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]IEnumerable<IModelEntry<TModel>> modelEntries) | void | Adds an IEnumerable object as an element to the IDataPacker object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key) | IDataStore | Gets an IDataStore object created by the specified element and the DataWindow object specified by the element. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]string name) | IDataStore | Gets an IDataStore object created by the specified element and the DataWindow object specified by the name parameter. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key, [NotNull]DataContext context) | IDataStore | Gets an IDataStore object created by the specified element, the DataWindow object specified by the element, and the DataContext object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]MappingMethod importMapping) | IDataStore | Gets an IDataStore object created by the specified element and the DataWindow object specified by the element. You can also specify the mapping method for importing data into the IDataStore object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]string name,[NotNull]MappingMethod importMapping) | IDataStore | Gets an IDataStore object created by the specified element and the DataWindow object specified by the name parameter. You can also specify the mapping method for importing data into the IDataStore object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]DataContext context,[NotNull]MappingMethod importMapping) | IDataStore | Gets an IDataStore object created by the specified element, the DataWindow object specified by the element, and the DataContext object. You can also specify the mapping method for importing data into the IDataStore object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,DataContext context,string name) | IDataStore | Gets an IDataStore object created by the specified element, the DataWindow object specified by the name parameter, and the DataContext object. |
GetDataStore([NotNull]this IDataPacker dataPacker,[NotNull]string key,DataContext context,string name,[NotNull]MappingMethod importMapping) | IDataStore | Gets an IDataStore object created by the specified element, the DataWindow object specified by the name parameter, and the DataContext object. You can also specify the mapping method for importing data into the IDataStore object. |
GetDataStore<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key) | IDataStore<TModel> | Gets an IDataStore object created by the specified element and the DataWindow object specified by the element. |
GetDataStore<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,DataContext context) | IDataStore<TModel> | Gets an IDataStore object created by the specified element, the DataWindow object specified by the element, and the DataContext object. |
GetDataStore<TModel>( [NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]MappingMethod importMapping) | IDataStore<TModel> | Gets an IDataStore object created by the specified element and the DataWindow object specified by the element. You can also specify the mapping method for importing data into the IDataStore object. |
GetDataStore<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,DataContext context,[NotNull]MappingMethod importMapping) | IDataStore<TModel> | Gets an IDataStore object created by the specified element and the DataWindow object specified by the element. You can also specify the mapping method for importing data into the IDataStore object. |
GetModelEntries<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key) | IEnumerable<IModelEntry<TModel>> | Gets an IEnumerable object as an element to the IDataPacker object. |
GetModelEntries<TModel>([NotNull]this IDataPacker dataPacker,[NotNull]string key,[NotNull]MappingMethod importMapping) | IEnumerable<IModelEntry<TModel>> | Gets an IEnumerable object as an element to the IDataPacker object, You can also specify the mapping method for export data from the IDataStore object. |