Show / Hide Table of Contents

Class ProductImporter

Implements the import functionality in NetServer

Inheritance
Object
ProductImporter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Import
Assembly: SoDataBase.dll
Syntax
public class ProductImporter

Constructors

ProductImporter()

Default constructor

Declaration
public ProductImporter()

Methods

DoImport(ImportItem[], String[], Boolean, String, Int32, StringDictionary, out Int32, out Int32, out Int32)

Import function

Declaration
public ImportItem[] DoImport(ImportItem[] rows, string[] columnDefs, bool saveForReal, string culture, int pricelistId, StringDictionary productImages, out int countInserted, out int countUpdated, out int firstInsertedProductId)
Parameters
Type Name Description
ImportItem[] rows
String[] columnDefs
Boolean saveForReal
String culture
Int32 pricelistId
StringDictionary productImages
Int32 countInserted
Int32 countUpdated
Int32 firstInsertedProductId
Returns
Type Description
ImportItem[]

ImportProductImages(StringDictionary, ProgressCallback)

Declaration
public void ImportProductImages(StringDictionary productImages, ProgressCallback progressCallback)
Parameters
Type Name Description
StringDictionary productImages
ProgressCallback progressCallback

WriteStats(String)

Writes out statistics - time and memory

Declaration
public void WriteStats(string message)
Parameters
Type Name Description
String message

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top