Class QuoteExtensions
Extension for working with Quote objects and rows.
Inheritance
QuoteExtensions
Assembly: SoDataBase.dll
Syntax
public static class QuoteExtensions
Methods
CloneAddress(AddressRow)
Declaration
public static AddressRow CloneAddress(this AddressRow adressRow)
Parameters
Returns
CloneBinaryObjectLinkRow(BinaryObjectLinkRow)
Extension for working with Quote objects and rows.
Declaration
public static BinaryObjectLinkRow CloneBinaryObjectLinkRow(this BinaryObjectLinkRow row)
Parameters
Returns
CloneBinaryObjectRow(BinaryObjectRow)
Extension for working with Quote objects and rows.
Declaration
public static BinaryObjectRow CloneBinaryObjectRow(this BinaryObjectRow row)
Parameters
Returns
CloneQuoteAlternative(QuoteAlternativeInfo)
Declaration
public static QuoteAlternativeInfo CloneQuoteAlternative(this QuoteAlternativeInfo q)
Parameters
Returns
CloneQuoteAlternativeRow(QuoteAlternativeRow)
Declaration
public static QuoteAlternativeRow CloneQuoteAlternativeRow(this QuoteAlternativeRow row)
Parameters
Returns
CloneQuoteLineRow(QuoteLineRow)
Declaration
public static QuoteLineRow CloneQuoteLineRow(this QuoteLineRow row)
Parameters
Returns
CloneQuoteRow(QuoteRow)
Declaration
public static QuoteRow CloneQuoteRow(this QuoteRow row)
Parameters
Returns
CloneQuoteVersion(QuoteVersionInfo)
Declaration
public static QuoteVersionInfo CloneQuoteVersion(this QuoteVersionInfo q)
Parameters
Returns
CloneQuoteVersionAttachmentRow(QuoteVersionAttachmentRow)
Create a copy of a QuoteVersionAttachmentRow.
Declaration
public static QuoteVersionAttachmentRow CloneQuoteVersionAttachmentRow(this QuoteVersionAttachmentRow row)
Parameters
Returns
CloneQuoteVersionAttachmentRows(QuoteVersionAttachmentRows)
Create a copy of a QuoteVersionAttachmentRows collection.
Declaration
public static QuoteVersionAttachmentRows CloneQuoteVersionAttachmentRows(this QuoteVersionAttachmentRows rows)
Parameters
Returns
CloneQuoteVersionRow(QuoteVersionRow)
Declaration
public static QuoteVersionRow CloneQuoteVersionRow(this QuoteVersionRow row)
Parameters
Returns
CloneStream(Stream)
Creates a clone of a stream object
Declaration
public static Stream CloneStream(this Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
The Stream to clone
|
Returns
Type |
Description |
Stream |
Cloned stream
|
ConvertBase64ToStream(string)
Convert a string to a stream
Declaration
public static Stream ConvertBase64ToStream(this string base64String)
Parameters
Type |
Name |
Description |
string |
base64String |
|
Returns
GetConnectionConfigFieldInfos(ConnectionConfigFieldRows)
Extension for working with Quote objects and rows.
Declaration
public static Dictionary<string, string> GetConnectionConfigFieldInfos(this ConnectionConfigFieldRows rows)
Parameters
Returns
GetConnectionConfigFieldRow(ConnectionConfigFieldInfo)
Extension for working with Quote objects and rows.
Declaration
public static ConnectionConfigFieldRow GetConnectionConfigFieldRow(this ConnectionConfigFieldInfo connectionConfigFieldInfo)
Parameters
Returns
Parses an XML string of <Fields> on the QuoteLineRow into a list of objects.
Declaration
public static ProductExtraDataFieldInfo[] GetProductExtraDataField(this QuoteLineRow quoteLineRow)
Parameters
Returns
Parses an XML string of <Fields> into a list of objects.
Declaration
public static ProductExtraDataFieldInfo[] GetProductExtraDataFieldInfo(string extra)
Parameters
Type |
Name |
Description |
string |
extra |
|
Returns
GetQuoteAlternativeInfo(QuoteAlternativeRow)
Extension for working with Quote objects and rows.
Declaration
public static QuoteAlternativeInfo GetQuoteAlternativeInfo(this QuoteAlternativeRow quoteAlternativeRow)
Parameters
Returns
GetQuoteInfo(QuoteRow)
Return a QuoteInfo object from a QuoteRow
Declaration
public static QuoteInfo GetQuoteInfo(this QuoteRow quoteRow)
Parameters
Returns
GetQuoteLineInfo(QuoteLineRow)
Extension for working with Quote objects and rows.
Declaration
public static QuoteLineInfo GetQuoteLineInfo(this QuoteLineRow quoteLineRow)
Parameters
Returns
GetQuoteLineInfos(QuoteLineRows)
Extension for working with Quote objects and rows.
Declaration
public static QuoteLineInfo[] GetQuoteLineInfos(this QuoteLineRows quoteLineRows)
Parameters
Returns
GetQuoteVersionInfo(QuoteVersionRow)
Extension for working with Quote objects and rows.
Declaration
public static QuoteVersionInfo GetQuoteVersionInfo(this QuoteVersionRow quoteVersionRow)
Parameters
Returns
Extension for working with Quote objects and rows.
Declaration
public static string GetStringFromExtraInfoField(this QuoteLineInfo ql, string name, ExtraDataFieldTypeInfo type)
Parameters
Returns
Extension for working with Quote objects and rows.
Declaration
public static void InsertExtraInfoField(this QuoteLineInfo ql, string name, ExtraDataFieldTypeInfo type, string value)
Parameters
ToAddressRow(AddressInfo)
Transform an AddressInfo into an AddressRow
Declaration
public static AddressRow ToAddressRow(this AddressInfo addressInfo)
Parameters
Returns