Пример #1
0
 /// <summary>
 /// Reads the ShopID from an IValueReader.
 /// </summary>
 /// <param name="valueReader">IValueReader to read the ShopID from.</param>
 /// <param name="name">The unique name of the value to read.</param>
 /// <returns>The ShopID read from the IValueReader.</returns>
 public static ShopID ReadShopID(this IValueReader valueReader, string name)
 {
     return(ShopID.Read(valueReader, name));
 }
Пример #2
0
 /// <summary>
 /// Reads the ShopID from an <see cref="IDataRecord"/>.
 /// </summary>
 /// <param name="r"><see cref="IDataRecord"/> to read the ShopID from.</param>
 /// <param name="name">The name of the field to read the value from.</param>
 /// <returns>The ShopID read from the <see cref="IDataRecord"/>.</returns>
 public static ShopID GetShopID(this IDataRecord r, string name)
 {
     return(ShopID.Read(r, name));
 }
Пример #3
0
 /// <summary>
 /// Reads the ShopID from a BitStream.
 /// </summary>
 /// <param name="bitStream">BitStream to read the ShopID from.</param>
 /// <returns>The ShopID read from the BitStream.</returns>
 public static ShopID ReadShopID(this BitStream bitStream)
 {
     return(ShopID.Read(bitStream));
 }
Пример #4
0
 /// <summary>
 /// Reads the ShopID from an <see cref="IDataRecord"/>.
 /// </summary>
 /// <param name="r"><see cref="IDataRecord"/> to read the ShopID from.</param>
 /// <param name="i">The field index to read.</param>
 /// <returns>The ShopID read from the <see cref="IDataRecord"/>.</returns>
 public static ShopID GetShopID(this IDataRecord r, int i)
 {
     return(ShopID.Read(r, i));
 }