Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     var currentUser = System.Web.Security.Membership.GetUser();
     var bicycleID = Request.QueryString["bicycleID"];
     if (bicycleID != null)
     {
         // Existing bicycle
         bicycle = (from bi in this.db.Bicycles
                     where
                     bi.Id == Guid.Parse(bicycleID)
                     select bi).FirstOrDefault();
     }
 }
Exemplo n.º 2
0
 partial void DeleteBicycle(Bicycle instance);
Exemplo n.º 3
0
 partial void UpdateBicycle(Bicycle instance);
Exemplo n.º 4
0
 partial void InsertBicycle(Bicycle instance);