public static ChangeType ( Object value, |
||
value | Object | The value to convert. |
conversionType | A System.Type to convert to. | |
return | Object |
/// <summary> /// Reads values from the supplied <see cref="IDictionary"/> object into /// properties of the current object. /// </summary> /// <param name="values">An <see cref="IDictionary"/> instance that contains /// the key/value pairs to be used as property values.</param> public override void Load(IDictionary values) { #region Init Properties if (values != null) { TimestampPk = (values["TimestampPk"] != null) ? (System.Byte[])EntityUtil.ChangeType(values["TimestampPk"], typeof(System.Byte[])) : new byte[] {}; } #endregion }
/// <summary> /// Reads values from the supplied <see cref="IDictionary"/> object into /// properties of the current object. /// </summary> /// <param name="values">An <see cref="IDictionary"/> instance that contains /// the key/value pairs to be used as property values.</param> public override void Load(IDictionary values) { #region Init Properties if (values != null) { IllustrationId = (values["IllustrationId"] != null) ? (System.Int32)EntityUtil.ChangeType(values["IllustrationId"], typeof(System.Int32)) : (int)0; } #endregion }
/// <summary> /// Reads values from the supplied <see cref="IDictionary"/> object into /// properties of the current object. /// </summary> /// <param name="values">An <see cref="IDictionary"/> instance that contains /// the key/value pairs to be used as property values.</param> public override void Load(IDictionary values) { #region Init Properties if (values != null) { DepartmentId = (values["DepartmentId"] != null) ? (System.Int16)EntityUtil.ChangeType(values["DepartmentId"], typeof(System.Int16)) : (short)0; } #endregion }
/// <summary> /// Reads values from the supplied <see cref="IDictionary"/> object into /// properties of the current object. /// </summary> /// <param name="values">An <see cref="IDictionary"/> instance that contains /// the key/value pairs to be used as property values.</param> public override void Load(IDictionary values) { #region Init Properties if (values != null) { SystemInformationId = (values["SystemInformationId"] != null) ? (System.Byte)EntityUtil.ChangeType(values["SystemInformationId"], typeof(System.Byte)) : (byte)0; } #endregion }
/// <summary> /// Reads values from the supplied <see cref="IDictionary"/> object into /// properties of the current object. /// </summary> /// <param name="values">An <see cref="IDictionary"/> instance that contains /// the key/value pairs to be used as property values.</param> public override void Load(IDictionary values) { #region Init Properties if (values != null) { TestIssue117TableBid = (values["TestIssue117TableBid"] != null) ? (System.Int32)EntityUtil.ChangeType(values["TestIssue117TableBid"], typeof(System.Int32)) : (int)0; } #endregion }