diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON.sln b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON.sln
new file mode 100644
index 0000000..4e06f82
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLToJSON", "SQLToJSON\SQLToJSON.csproj", "{5D1182EE-1620-4BFE-BAE7-60408309DF55}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5D1182EE-1620-4BFE-BAE7-60408309DF55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D1182EE-1620-4BFE-BAE7-60408309DF55}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D1182EE-1620-4BFE-BAE7-60408309DF55}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D1182EE-1620-4BFE-BAE7-60408309DF55}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/App.config b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/App.config
new file mode 100644
index 0000000..8454aa8
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/App.config
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Custom.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Custom.cs
new file mode 100644
index 0000000..c612da9
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Custom.cs
@@ -0,0 +1,112 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Newtonsoft.Json;
+using System.Configuration;
+using System.Data.SqlClient;
+using System.Configuration;
+using Newtonsoft.Json.Linq;
+
+namespace SQLToJSON
+{
+ class Custom
+ {
+ string connString = string.Empty;
+ public Custom()
+ {
+ connString = Convert.ToString(ConfigurationManager.AppSettings["connectionString"]);
+ }
+
+ public DataTable FetchDataFromTable(string cmd)
+ {
+ DataTable resultTable;
+ SqlDataAdapter da = new SqlDataAdapter(cmd, connString);
+ DataSet ds = new DataSet();
+ da.Fill(ds);
+ resultTable = ds.Tables[0];
+ return resultTable;
+ }
+
+ public string DataTableToJSONWithJSONNet(dynamic table)
+ {
+ string JSONString = string.Empty;
+ JSONString = JsonConvert.SerializeObject(table);
+ return JSONString;
+ }
+
+ public dynamic GetModifiedTableWithUserModules(DataTable userTable, DataTable moduleTable)
+ {
+ List data2 = null;
+ try
+ {
+
+ List data = (from d in userTable.AsEnumerable()
+ join e in moduleTable.AsEnumerable()
+ on d.Field("Id") equals
+ e.Field("UserId")
+ select new User
+ {
+ loginId = d.Field("loginId"),
+ password = d.Field("password"),
+ firstName = d.Field("firstName"),
+ lastName = d.Field("lastName"),
+ userType = d.Field("userType"),
+ emailId = d.Field("emailId"),
+ isActive = d.Field("isActive"),
+ securityQuestion = d.Field("securityQuestion"),
+ securityAnswer = d.Field("securityAnswer"),
+ creatorId = d.Field("creatorId"),
+ creationDate = d.Field("creationDate"),
+ modifierId = d.Field("modifierId"),
+ modifiedDate = d.Field("modifiedDate"),
+ deactivationDate = d.Field("deactivationDate"),
+ module = e.Field("Title"),
+ }).ToList();
+
+
+ data2=data.ToList();
+ foreach (var row in data)
+ {
+
+ string userloginId = row.loginId;
+ var Modules = (from m in data
+ where m.loginId == userloginId
+ select m.module).ToList();
+
+ string modu= JsonConvert.SerializeObject(Modules);
+
+ var jsonObj = new JObject();
+ dynamic mo = jsonObj;
+ mo.modules = new JArray() as dynamic;
+
+ foreach (var mods in Modules)
+ {
+ dynamic modul= new JObject();
+ modul.name = mods;
+ modul.slug = ConfigurationManager.AppSettings[mods];
+ mo.modules.Add(modul);
+
+ }
+
+ data2 = data2.Where(w=>w.loginId == userloginId).Select (r => { r.module = mo.ToString(); return r; }).ToList();
+
+ }
+
+
+ var result = data2.GroupBy(x => x.loginId).Select(g => g.First());
+ string bb = "";
+
+ return result;
+ }
+ catch (Exception e) {
+ return e.Message;
+ }
+
+ }
+
+ }
+}
+;
\ No newline at end of file
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/DBConstants.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/DBConstants.cs
new file mode 100644
index 0000000..d326f3d
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/DBConstants.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SQLToJSON
+{
+ class DBConstants
+ {
+ }
+}
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.Designer.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.Designer.cs
new file mode 100644
index 0000000..15c2a4a
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.Designer.cs
@@ -0,0 +1,73 @@
+namespace SQLToJSON
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.button1 = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(79, 30);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(119, 23);
+ this.button1.TabIndex = 0;
+ this.button1.Text = "ConvertToJson";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(115, 97);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(0, 13);
+ this.label1.TabIndex = 1;
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(284, 261);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.button1);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Label label1;
+ }
+}
+
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.cs
new file mode 100644
index 0000000..d1dd449
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.cs
@@ -0,0 +1,80 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace SQLToJSON
+{
+ public partial class Form1 : Form
+ {
+ Custom objClass;
+ public Form1()
+ {
+ InitializeComponent();
+ objClass = new Custom();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ //string aiaUserCommand = "SELECT U.Id, U.LoginId, U.Password, U.FirstName, U.LastName, U.UserTypeId, R.Title AS UserRoleName, U.EmailId, U.IsActive, U.SecurityQuestionId, U.SecurityAnswer, U.CreatorId, U.CreationDate, U.ModifierId, U.ModifiedDate, U.DeactivationDate FROM AIAUser U INNER JOIN AIAUserActivity UA ON U.Id = UA.UserId INNER JOIN ROle R ON UA.RoleId = R.Id";
+ //string roleCommand = "SELECT Role.Id, Role.Title, AIAUserActivity.UserId FROM ROle INNER JOIN AIAUserActivity ON Role.Id = AIAUserActivity.RoleId";
+
+ //DataTable userTable = objClass.FetchDataFromTable(aiaUserCommand);
+ //DataTable roleTable = objClass.FetchDataFromTable(roleCommand);
+
+ //DataTable resultTable = objClass.ReturnModifiedTable(userTable, roleTable);
+ //string aiaUserJson = objClass.DataTableToJSONWithJSONNet(resultTable);
+
+ //System.IO.File.WriteAllText("D:/AIAUser.json", aiaUserJson);
+ //label1.Text = "Conversion Successfull.";
+
+
+
+ // raw quries having all Columns
+ // SELECT U.Id, U.LoginId, U.Password, U.FirstName, U.LastName, U.UserTypeId, UT.Title AS UserRoleName,
+ //U.EmailId, U.IsActive, U.SecurityQuestionId, sq.Title as SecurityQuestion, U.SecurityAnswer, U.CreatorId, U.CreationDate, U.ModifierId,
+ // U.ModifiedDate, U.DeactivationDate FROM AIAUser U,UserType UT, SecurityQuestion sq
+ // WHERE U.UserTypeId = UT.Id and U.SecurityQuestionId = sq.Id
+
+ // select distinct ule.UserId,mt.ModuleId,rm.Title from LicenseToEdition le,AIAUserToLicenseEdition ule,
+ //ModuleToLicense mt, ResourceModule rm where le.LicenseId = ule.LicenseEditionId and le.LicenseId=mt.LicenseId
+ //and rm.Id = mt.ModuleId order by ule.UserId,mt.ModuleId
+ try
+ {
+ string userProfileQuery = "SELECT U.Id, U.LoginId as loginId, U.Password as password, U.FirstName as firstName, U.LastName as lastName, UT.Title AS userType,"
+ + " U.EmailId as emailId, cast(U.IsActive as Bit) as isActive, sq.Title as securityQuestion, U.SecurityAnswer as securityAnswer, U.CreatorId as creatorId, U.CreationDate as creationDate, U.ModifierId as modifierId,"
+ + " U.ModifiedDate as modifiedDate, U.DeactivationDate as deactivationDate FROM AIAUser U,UserType UT, SecurityQuestion sq"
+ + " WHERE U.UserTypeId = UT.Id and U.SecurityQuestionId = sq.Id";
+
+ string userModulesQuery = "select distinct ule.UserId,mt.ModuleId,rm.Title from LicenseToEdition le,AIAUserToLicenseEdition ule,"
+ + " ModuleToLicense mt, ResourceModule rm where le.LicenseId = ule.LicenseEditionId and le.LicenseId=mt.LicenseId"
+ + " and rm.Id = mt.ModuleId order by ule.UserId,mt.ModuleId";
+
+ DataTable userTable = objClass.FetchDataFromTable(userProfileQuery);
+ userTable.Columns.Add("modules", typeof(System.String));
+ DataTable moduleTable = objClass.FetchDataFromTable(userModulesQuery);
+
+ dynamic resultTable = objClass.GetModifiedTableWithUserModules(userTable, moduleTable);
+ string aiaUserJson = objClass.DataTableToJSONWithJSONNet(resultTable);
+ if (File.Exists(@"D:/AIAUser.json"))
+ {
+ File.Delete(@"D:/AIAUser.json");
+ }
+ System.IO.File.WriteAllText("D:/AIAUser.json", aiaUserJson);
+ label1.Text = "Conversion Successfull.";
+ }
+ catch (Exception ex)
+ {
+
+ }
+
+
+ }
+ }
+}
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.resx b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.resx
new file mode 100644
index 0000000..29dcb1b
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Program.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Program.cs
new file mode 100644
index 0000000..c27848f
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace SQLToJSON
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/AssemblyInfo.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..daa7dc7
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("SQLToJSON")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("SQLToJSON")]
+[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("9c41cb92-c47d-4501-b7ba-423410194cf7")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.Designer.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..668bf43
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace SQLToJSON.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SQLToJSON.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.resx b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.resx
new file mode 100644
index 0000000..ffecec8
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.Designer.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..b5d51f1
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace SQLToJSON.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.settings b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.settings
new file mode 100644
index 0000000..abf36c5
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/SQLToJSON.csproj b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/SQLToJSON.csproj
new file mode 100644
index 0000000..7c889d1
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/SQLToJSON.csproj
@@ -0,0 +1,95 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {5D1182EE-1620-4BFE-BAE7-60408309DF55}
+ WinExe
+ Properties
+ SQLToJSON
+ SQLToJSON
+ v4.5
+ 512
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ False
+ ..\..\..\Newtonsof_Json_Net45\Net45\Newtonsoft.Json.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/User.cs b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/User.cs
new file mode 100644
index 0000000..bc339db
--- /dev/null
+++ b/350-UTILITIES/SQL_To_Json/SQLToJSON/SQLToJSON/User.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SQLToJSON
+{
+ public class User
+ {
+
+ public string loginId{get;set;}
+ public string password { get; set; }
+ public string firstName { get; set; }
+ public string lastName { get; set; }
+ public string userType { get; set; }
+ public string emailId { get; set; }
+ public bool isActive { get; set; }
+ public string securityQuestion { get; set; }
+ public string securityAnswer { get; set; }
+ public int creatorId { get; set; }
+ public DateTime? creationDate{ get; set; }
+ public int modifierId { get; set; }
+ public DateTime? modifiedDate { get; set; }
+ public DateTime? deactivationDate { get; set; }
+ public string module { get; set; }
+
+ }
+}
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
index 496a699..c88c88a 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
@@ -27,7 +27,7 @@ AIA.constant('pages', [
},
{ // id:3,
name: 'Clinical Illustrations',
- pageSlug: 'clinical-illustrations',
+ pageSlug: 'ci-list',
pageUrl: 'app/views/ci/ci-view.html',
pageController: 'CIController'
@@ -35,7 +35,7 @@ AIA.constant('pages', [
{
// id:4,
name: 'Clinical Animations',
- pageSlug: 'clinical-animations',
+ pageSlug: 'ca-list',
pageUrl: 'app/views/ca/ca-view.html',
pageController: 'CAController'
@@ -49,35 +49,35 @@ AIA.constant('pages', [
},
{ //id:6,
name: 'Curriculum Builder',
- pageSlug: 'curriculum-builder',
+ pageSlug: 'cb-list',
pageUrl: 'app/views/CBuild/CBuild-view.html',
pageController: 'CurrBuildController'
},
{ //id:7,
name: 'Anatomy Tests',
- pageSlug: 'anatomy-test',
+ pageSlug: 'at-list',
pageUrl: 'app/views/AnatTest/AnatTest-view.html',
pageController: 'AnatTestController'
},
{ //id:8,
name: 'Lab Exercises',
- pageSlug: 'lab-exercises',
+ pageSlug: 'le-list',
pageUrl: 'app/views/LabExerc/LabExerc-view.html',
pageController: 'LabExercController'
},
{ //id:9,
name: 'ADAM Images',
- pageSlug: 'ADAM-images',
+ pageSlug: 'ai-list',
pageUrl: 'app/views/ADAMImg/ADAMImg-view.html',
pageController: 'ADAMImgController'
},
{ //id:10,
name: 'ADAM On Demand',
- pageSlug: 'ADAM-on-demand',
+ pageSlug: 'aod-list',
pageUrl: 'app/views/AOD/AOD-view.html',
pageController: 'AODController'