/// <summary> /// Converts an InternalId to an autonumbered row ID. /// </summary> /// <param name="ConfigConnectionString">An enum type to reference a connection string defined in web.config.</param> /// <param name="Table">Table name to use for the conversion.</param> /// <param name="InternalId">The GUID of the InternalId to convert.</param> /// <returns>ID of the row matching the InternalId.</returns> public static string GetIdFromInternalId(Enum ConfigConnectionString, string Table, string InternalId) => RowIdentityHelper.GetIdFromInternalId(ConfigConnectionString, Table, InternalId);
//***************** Identity functions *****************// /// <summary> /// Use the MySql built in function to get the ID of the last row inserted. /// </summary> /// <param name="ConfigConnectionString">An enum type to reference a connection string defined in web.config.</param> /// <returns>A string representation of the ID.</returns> public static string GetLastInsertId(Enum ConfigConnectionString) => RowIdentityHelper.GetLastInsertId(ConfigConnectionString);