public sbyte mysql_stmt_attr_set(StmtAttrTypes option, IntPtr value) { if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { return(mysql_stmt_attr_set_win32(stmt, option, value)); } else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { return(mysql_stmt_attr_set_linux(stmt, option, value)); } else { throw new NotSupportedException(); } }
public static extern sbyte mysql_stmt_attr_set_win32(IntPtr stmt, StmtAttrTypes option, IntPtr value);