Class UDProjectLargeRows
User-defined fields. During conversion of user defined fields the data is stored in this table. Collection of UDProjectLargeRow. Each element of the collection represents one row in the UDProjectLarge table.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class UDProjectLargeRows : TableRowsBase, INestedPersist, IEnumerable<INestedPersist>, ISoCollection, INotifyCollectionChanged, IBindingList, IList, ICollection, IEnumerable
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Properties
this[int]
Get a UDProjectLargeRow given its index in the collection.
Declaration
public UDProjectLargeRow this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the UDProjectLargeRow in the collection |
Property Value
Type | Description |
---|---|
UDProjectLargeRow |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Methods
Add(UDProjectLargeRow)
Add one UDProjectLargeRow to the collection.
Declaration
public int Add(UDProjectLargeRow row)
Parameters
Type | Name | Description |
---|---|---|
UDProjectLargeRow | row | An instance of UDProjectLargeRow to be added to the collection. |
Returns
Type | Description |
---|---|
int | The index of the added UDProjectLargeRow. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
AddNew()
Add a new instance of UDProjectLargeRow added to the collection.
Declaration
public UDProjectLargeRow AddNew()
Returns
Type | Description |
---|---|
UDProjectLargeRow | A new instance of UDProjectLargeRow added to the collection. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
AddRange(IEnumerable<UDProjectLargeRow>)
Add a range of UDProjectLargeRow to the collection.
Declaration
public UDProjectLargeRows AddRange(IEnumerable<UDProjectLargeRow> rows)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<UDProjectLargeRow> | rows |
Returns
Type | Description |
---|---|
UDProjectLargeRows | The updated UDProjectLargeRows collection object. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
CreateChild()
Create a new instance of UDProjectLargeRow
Declaration
protected override TableRowBase CreateChild()
Returns
Type | Description |
---|---|
TableRowBase | New instance of UDProjectLargeRow |
Overrides
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
CreateNew()
Create a new instance of the UDProjectLargeRows object. This collection will contain no rows.
Declaration
public static UDProjectLargeRows CreateNew()
Returns
Type | Description |
---|---|
UDProjectLargeRows | A new instance of the UDProjectLargeRows object. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Find(Predicate<UDProjectLargeRow>)
Apply the predicate to each element of the collection and return the first row that matches; if no match then return null
Declaration
public UDProjectLargeRow Find(Predicate<UDProjectLargeRow> condition)
Parameters
Type | Name | Description |
---|---|---|
Predicate<UDProjectLargeRow> | condition |
Returns
Type | Description |
---|---|
UDProjectLargeRow |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
FindAll(Predicate<UDProjectLargeRow>)
Return a new collection that contains only those elements that match the condition. Elements are shared, not clones! of the original collection
Declaration
public UDProjectLargeRows FindAll(Predicate<UDProjectLargeRow> condition)
Parameters
Type | Name | Description |
---|---|---|
Predicate<UDProjectLargeRow> | condition |
Returns
Type | Description |
---|---|
UDProjectLargeRows |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ForEach(Action<UDProjectLargeRow>)
Method that iterates over all members and applies the action parameter to each of them
Declaration
public void ForEach(Action<UDProjectLargeRow> whatToDo)
Parameters
Type | Name | Description |
---|---|---|
Action<UDProjectLargeRow> | whatToDo |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
GetFromCustomSearch(CustomSearch)
Create a new instance of the UDProjectLargeRows object, and populate it with data from a custom search. If the search returns no results, an empty collection will be returned; if the result contains rows, a collection of UDProjectLargeRow objects representing each row will be returned.
Declaration
public static UDProjectLargeRows GetFromCustomSearch(UDProjectLargeRows.CustomSearch query)
Parameters
Type | Name | Description |
---|---|---|
UDProjectLargeRows.CustomSearch | query | The custom search to execute against the database |
Returns
Type | Description |
---|---|
UDProjectLargeRows | A new instance of the UDProjectLargeRows object, reflecting the result of the query. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
GetFromIdxString41(string)
Create a new instance of the UDProjectLargeRow object, by querying the database table via the index 'IDXUdprojLargeString41'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static UDProjectLargeRows GetFromIdxString41(string string41)
Parameters
Type | Name | Description |
---|---|---|
string | string41 |
Returns
Type | Description |
---|---|
UDProjectLargeRows | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the UDProjectLarge table. Non-unique indexes have corresponding inner classes and methods in the UDProjectLargeRows collection, since they may return more than one row.
GetFromIdxString42(string)
Create a new instance of the UDProjectLargeRow object, by querying the database table via the index 'IDXUdprojLargeString42'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static UDProjectLargeRows GetFromIdxString42(string string42)
Parameters
Type | Name | Description |
---|---|---|
string | string42 |
Returns
Type | Description |
---|---|
UDProjectLargeRows | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the UDProjectLarge table. Non-unique indexes have corresponding inner classes and methods in the UDProjectLargeRows collection, since they may return more than one row.
GetFromIdxString43(string)
Create a new instance of the UDProjectLargeRow object, by querying the database table via the index 'IDXUdprojLargeString43'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static UDProjectLargeRows GetFromIdxString43(string string43)
Parameters
Type | Name | Description |
---|---|---|
string | string43 |
Returns
Type | Description |
---|---|
UDProjectLargeRows | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the UDProjectLarge table. Non-unique indexes have corresponding inner classes and methods in the UDProjectLargeRows collection, since they may return more than one row.
GetFromIdxString44(string)
Create a new instance of the UDProjectLargeRow object, by querying the database table via the index 'IDXUdprojLargeString44'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static UDProjectLargeRows GetFromIdxString44(string string44)
Parameters
Type | Name | Description |
---|---|---|
string | string44 |
Returns
Type | Description |
---|---|
UDProjectLargeRows | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the UDProjectLarge table. Non-unique indexes have corresponding inner classes and methods in the UDProjectLargeRows collection, since they may return more than one row.
GetFromReader(SoDataReader, UDProjectLargeTableInfo)
Create a new instance of the UDProjectLargeRows object, and populate it with data from a reader. If the search returns no results, an empty collection will be returned; if the result contains rows, a collection of UDProjectLargeRow objects representing each row will be returned.
Note that the internal logic starts by calling reader.Read(), which is correct if you hand the method the result of an ExecuteReader(), but if the reader has already been advanced one or more rows, the current row will be skipped and collection population will start with the next row.Declaration
public static UDProjectLargeRows GetFromReader(SoDataReader reader, UDProjectLargeTableInfo tableInfo)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | SoDataReader positioned to a valid database row. |
UDProjectLargeTableInfo | tableInfo | UDProjectLargeTableInfo instance used in the query that is the source of the reader. The fields used from the reader will be those owned by this tableinfo object. |
Returns
Type | Description |
---|---|
UDProjectLargeRows |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Remove(UDProjectLargeRow)
Removes the given UDProjectLargeRow from the collection
Declaration
public void Remove(UDProjectLargeRow row)
Parameters
Type | Name | Description |
---|---|---|
UDProjectLargeRow | row | the UDProjectLargeRow to be removed |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ToArray()
User-defined fields. During conversion of user defined fields the data is stored in this table. Collection of UDProjectLargeRow. Each element of the collection represents one row in the UDProjectLarge table.
Declaration
public UDProjectLargeRow[] ToArray()
Returns
Type | Description |
---|---|
UDProjectLargeRow[] |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ToString()
For debugging: Number of members, and the first (up to) 5 items
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type UDProjectLargeRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) UDProjectLargeRows UDProjectLargeRows.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.