/// <summary> /// Reads the ItemTemplateID from an IValueReader. /// </summary> /// <param name="valueReader">IValueReader to read the ItemTemplateID from.</param> /// <param name="name">The unique name of the value to read.</param> /// <returns>The ItemTemplateID read from the IValueReader.</returns> public static ItemTemplateID ReadItemTemplateID(this IValueReader valueReader, string name) { return(ItemTemplateID.Read(valueReader, name)); }
/// <summary> /// Reads the ItemTemplateID from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the ItemTemplateID from.</param> /// <param name="name">The name of the field to read the value from.</param> /// <returns>The ItemTemplateID read from the <see cref="IDataRecord"/>.</returns> public static ItemTemplateID GetItemTemplateID(this IDataRecord r, string name) { return(ItemTemplateID.Read(r, name)); }
/// <summary> /// Reads the ItemTemplateID from a BitStream. /// </summary> /// <param name="bitStream">BitStream to read the ItemTemplateID from.</param> /// <returns>The ItemTemplateID read from the BitStream.</returns> public static ItemTemplateID ReadItemTemplateID(this BitStream bitStream) { return(ItemTemplateID.Read(bitStream)); }
/// <summary> /// Reads the ItemTemplateID from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the ItemTemplateID from.</param> /// <param name="i">The field index to read.</param> /// <returns>The ItemTemplateID read from the <see cref="IDataRecord"/>.</returns> public static ItemTemplateID GetItemTemplateID(this IDataRecord r, int i) { return(ItemTemplateID.Read(r, i)); }