2
Answers

i have a questions on Asp.Net MVC

i am getting error during the creation of View ? i am using multiple table in single model
 
 
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopInDeal.ViewModels
{
class BusinessViewModel
{
//BusinessTable (table name)
 
public int ShopId { get; set; }
public string ShopName { get; set; }
public Nullable<bool> FlagApproval { get; set; }
public Nullable<int> Createdby { get; set; }
public Nullable<System.DateTime> CreatedOn { get; set; }
public Nullable<int> UpdatedBy { get; set; }
public Nullable<System.DateTime> UpdatedOn { get; set; }
public Nullable<bool> Active { get; set; }
 
 
//BusinessLocation (table name)
  
public int LocationID { get; set; }
public string Location { get; set; }
//public Nullable<int> ShopId { get; set; }
public string Longitude { get; set; }
public string Latitude { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
 
//Business_CatagoryRelation (table name)
 
public int shopcategoryrelationid { get; set; }
public Nullable<int> shopId { get; set; }
public Nullable<int> CategoryId { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
 
 
//Business_SubCatagoryRelation (table name)
 
public int shopsubcategoryrelationid { get; set; }
//public Nullable<int> shopId { get; set; }
//public Nullable<int> CategoryId { get; set; }
public Nullable<int> SubCategoryId { get; set; }
//public Nullable<int> Createdby { get; set; }
//public Nullable<System.DateTime> CreatedOn { get; set; }
//public Nullable<int> UpdatedBy { get; set; }
//public Nullable<System.DateTime> UpdatedOn { get; set; }
//public Nullable<bool> Active { get; set; }
}
}

Answers (2)

0
Photo of Upendra Pratap Shahi
NA 13.3k 861.7k 9y
http://www.c-sharpcorner.com/UploadFile/40e97e/send-keys-to-application-programmatically-using-C-Sharp/


http://www.vbforums.com/showthread.php?621803-Sendkey-to-webbrowser

If helpful marked as Accepted Answer
0
Photo of Upendra Pratap Shahi
NA 13.3k 861.7k 9y
http://www.c-sharpcorner.com/UploadFile/40e97e/send-keys-to-application-programmatically-using-C-Sharp/


http://www.vbforums.com/showthread.php?621803-Sendkey-to-webbrowser

If helpful marked as Accepted Answer
0
Photo of Dipankar Biswas
NA 3k 125.6k 9y
hi..
 
it may help u..
 
Thanks..