EntityQueryExtensions.Set<T> method (1 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Entity
Sets a field value with a parameter.
public static T Set<T>(this T self, IField field, object value)
where T : ISetFieldByStatement
parameter | description |
---|---|
Field name. | |
Parameter name | |
Parameter value |
Return Value
Object itself.
See Also
- class T
- interface IField
- interface ISetFieldByStatement
- class EntityQueryExtensions
EntityQueryExtensions.Set<T> method (2 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Entity
Sets all field values in a row with auto named parameters (field name prefixed with '@').
public static T Set<T>(this T self, IRow row, IField exclude = null)
where T : ISetFieldByStatement
parameter | description |
---|---|
The row with modified field values. Must be in TrackAssignments mode, or an exception is raised. |
Return Value
Object itself.
See Also
- class T
- interface IRow
- interface IField
- interface ISetFieldByStatement
- class EntityQueryExtensions