this is the function I call
this.ExecuteSQLProcedure("sp_GenerateInterface", new object[] { TableName });
Result of above function and is stored in string variable
string tableInterface =
Public Class UserMaster
{
Guid UserId { get; set; }
string UserName { get; set; }
Guid RoleId { get; set; }
string FirstName { get; set; }
string LastName { get; set; }
Guid AddressId { get; set; }
long ContactNumber { get; set; }
string ProfilePicture { get; set; }
bool? IsActive { get; set; }
Guid? EntryBy { get; set; }
DateTime? EntryDate { get; set; }
Guid? UpdatedBy { get; set; }
DateTime? UpdatedDate { get; set; }
Guid? DeletedBy { get; set; }
DateTime? DeletedDate { get; set; }
string Email { get; set; }
bool fnCheckContactNumberExists( long ContactNumber );
bool fnCheckEmailExists( string Email );
bool fnCheckUserExistsorNot( string LoginCredential );
bool fnCheckUserNameAvailable( string UserName );
bool fnCheckUserNameExists( string UserName );
bool fnCheckUserStatus( string LoginCredntial );
string fnGenerateFrenchiseNumber( );
string fnGetFirstLastName( string LoginCredential );
Guid fnGetUserId( string LoginCredential );
void sp_AuthenticateLogin( string LoginCredential, out string Message, out string MessageType, string Password );
void sp_CreateUser( string City, long ContactNumber, string Email, string FirstName, string HouseNo, string LandMark, string Lane, string LastName, string LoginCredential, out string Message, out string MessageType, string Password, string Street, string UserName );
}
Now I want to instantiate this Class so that I can use it anywhere