Show / Hide Table of Contents

Class RowHelper

Helper class with Row and Rows object utility functions

Inheritance
object
RowHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows.Util
Assembly: SoDataBase.dll
Syntax
public class RowHelper

Constructors

RowHelper()

Helper class with Row and Rows object utility functions

Declaration
public RowHelper()

Methods

ForceTableRowsCount(EntityCollectionBase, int)

Make sure that the collection has the exact number of items in it.

Declaration
public static void ForceTableRowsCount(EntityCollectionBase rows, int length)
Parameters
Type Name Description
EntityCollectionBase rows

Collection to force having the right number of items.

int length

The wanted amount of items in the collection.

Remarks

If the collection is too long, items will be removed from the end of the collection and marked for deletion from the database. If the collection is too short, items will be appended to the end of the collection.

ForceTableRowsCount(TableRowsBase, int)

Make sure that the collection has the exact number of items in it.

Declaration
public static void ForceTableRowsCount(TableRowsBase rows, int length)
Parameters
Type Name Description
TableRowsBase rows

Collection to force having the right number of items.

int length

The wanted amount of items in the collection.

Remarks

If the collection is too long, items will be removed from the end of the collection and marked for deletion from the database. If the collection is too short, items will be appended to the end of the collection.

Extension Methods

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