Class Lob
Blob field wrapper
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
public abstract class Lob
Examples
// declaration
[Property("scan", "SC", Flags = DataPropertyFlag.OuterFlag)]
public Lob Scan { get; set; }
// using
byte[] scan = GetScanFileBody();
newInvoice.Scan += scan;
// is the same as
newInvoice.Scan.Value = scan;
Properties
| Improve this Doc View SourceAssigned
Blob is value is changed from null value
Declaration
public abstract bool Assigned { get; }
Property Value
Type | Description |
---|---|
Boolean |
Cleared
Blob is value is cleared
Declaration
public abstract bool Cleared { get; }
Property Value
Type | Description |
---|---|
Boolean |
EmptyKeys
Blob table keys are empty
Declaration
public abstract bool EmptyKeys { get; }
Property Value
Type | Description |
---|---|
Boolean |
Value
Blob value
Declaration
public abstract byte[] Value { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
Methods
| Improve this Doc View SourceGetSize()
Returns Lob size
Declaration
public abstract long GetSize()
Returns
Type | Description |
---|---|
Int64 |
Operators
| Improve this Doc View SourceAddition(Lob, Byte[])
Set Lob value
Declaration
public static Lob operator +(Lob lob, byte[] body)
Parameters
Type | Name | Description |
---|---|---|
Lob | lob | Lob |
Byte[] | body | Lob body |
Returns
Type | Description |
---|---|
Lob | Updated lob |
Implicit(Lob to Byte[])
Implicit Lob body extraction
Declaration
public static implicit operator byte[](Lob lob)
Parameters
Type | Name | Description |
---|---|---|
Lob | lob | Lob property |
Returns
Type | Description |
---|---|
Byte[] | Lob body |
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)