Пример #1
0
 /// <summary>
 /// Get XElement-value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>XElement-value</returns>
 public XElement XElement(string path, string field)
 {
     return(DataValueExtractor.XElement(Value(path, field)));
 }
Пример #2
0
 /// <summary>
 /// Get UInt32 value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>uint-value</returns>
 public uint UInt32(string path, string field)
 {
     return(DataValueExtractor.UInt32(Value(path, field)));
 }
Пример #3
0
 /// <summary>
 /// Get Int64 value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>long-value</returns>
 public ulong UInt64(string path, string field)
 {
     return(DataValueExtractor.UInt64(Value(path, field)));
 }
Пример #4
0
 /// <summary>
 /// Get String value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>string-value</returns>
 public string String(string path, string field)
 {
     return(DataValueExtractor.String(Value(path, field)));
 }
Пример #5
0
 /// <summary>
 /// Get UInt16 value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>ushort-value</returns>
 public ushort UInt16(string path, string field)
 {
     return(DataValueExtractor.UInt16(Value(path, field)));
 }
Пример #6
0
 /// <summary>
 /// Get Nullable&lt;T&gt; enum value
 /// </summary>
 /// <typeparam name="T">Type of enum</typeparam>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>T?-value</returns>
 public T?NEnum <T>(string path, string field)
     where T : struct
 {
     return(DataValueExtractor.NEnum <T>(Value(path, field)));
 }
Пример #7
0
 /// <summary>
 /// Get Single value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>float value</returns>
 public float Single(string path, string field)
 {
     return(DataValueExtractor.Single(Value(path, field)));
 }
Пример #8
0
 /// <summary>
 /// Get Nullable&lt;bool&gt; value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>bool?-value</returns>
 public bool?NBoolean(string path, string field)
 {
     return(DataValueExtractor.NBoolean(Value(path, field)));
 }
Пример #9
0
 /// <summary>
 /// Get Nullable&lt;DateTime&gt; value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>DateTime?-value</returns>
 public DateTime?NDate(string path, string field)
 {
     return(DataValueExtractor.NDate(Value(path, field)));
 }
Пример #10
0
 /// <summary>
 /// Get Guid value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>Guid-value</returns>
 public Guid Guid(string path, string field)
 {
     return(DataValueExtractor.Guid(Value(path, field)));
 }
Пример #11
0
 /// <summary>
 /// Get Decimal value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>decimal-value</returns>
 public decimal Decimal(string path, string field)
 {
     return(DataValueExtractor.Decimal(Value(path, field)));
 }
Пример #12
0
 /// <summary>
 /// Get DateTime value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>DateTime-value</returns>
 public System.DateTime Date(string path, string field)
 {
     return(DataValueExtractor.Date(Value(path, field)));
 }
Пример #13
0
 /// <summary>
 /// Get Byte[] value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>byte[]-value</returns>
 public byte[] ByteArray(string path, string field)
 {
     return(DataValueExtractor.ByteArray(Value(path, field)));
 }
Пример #14
0
 /// <summary>
 /// Get Byte value
 /// </summary>
 /// <param name="path">Current property path</param>
 /// <param name="field">Column name</param>
 /// <returns>byte-value</returns>
 public byte Byte(string path, string field)
 {
     return(DataValueExtractor.Byte(Value(path, field)));
 }