This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
user=$EUID | |
if [ "${user}" != "0" ]; then | |
echo | |
echo "$0 must be run as root - you are running as $EUID" | |
echo | |
exit 1 | |
fi | |
echo | |
echo "About to destroy Rancher 2.x install" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Convert .Net Type to SqlDbType or DbType and vise versa | |
//This class can be useful when you make conversion between types .The class supports conversion between .Net Type , SqlDbType and DbType . | |
using System; | |
using System.Collections; | |
using System.Data; | |
namespace Devintelligence.Common.Data | |
{ | |
/// <summary> |