Exemplo n.º 1
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 orderID, System.Int32 productID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(orderID, productID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(orderID, productID));
     }
 }
Exemplo n.º 2
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Guid guidKeyAlias)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(guidKeyAlias));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(guidKeyAlias));
     }
 }
Exemplo n.º 3
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 taskRelationID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(taskRelationID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(taskRelationID));
     }
 }
Exemplo n.º 4
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 storeId, System.String countryCode, System.String region)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(storeId, countryCode, region));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(storeId, countryCode, region));
     }
 }
Exemplo n.º 5
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 announcementID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(announcementID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(announcementID));
     }
 }
Exemplo n.º 6
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.String userID, System.String userServiceUnitID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(userID, userServiceUnitID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(userID, userServiceUnitID));
     }
 }
Exemplo n.º 7
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.String registrationNo, System.String patientID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(registrationNo, patientID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(registrationNo, patientID));
     }
 }
Exemplo n.º 8
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.String customerID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(customerID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(customerID));
     }
 }
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 childId, System.Int32 parentKeyId, System.String parentKeySub)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(childId, parentKeyId, parentKeySub));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(childId, parentKeyId, parentKeySub));
     }
 }
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int64 constructorTestId)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(constructorTestId));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(constructorTestId));
     }
 }
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 employeeID, System.String territoryID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(employeeID, territoryID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(employeeID, territoryID));
     }
 }
Exemplo n.º 12
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 storeId, System.Int16 emailTemplateId)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(storeId, emailTemplateId));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(storeId, emailTemplateId));
     }
 }
Exemplo n.º 13
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 shippingServiceId, System.String name)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(shippingServiceId, name));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(shippingServiceId, name));
     }
 }
Exemplo n.º 14
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Decimal aDMIN_ID)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(aDMIN_ID));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(aDMIN_ID));
     }
 }
Exemplo n.º 15
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.String sid1, System.String sid2, System.Int32 cid1, System.String cid2)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(sid1, sid2, cid1, cid2));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(sid1, sid2, cid1, cid2));
     }
 }
Exemplo n.º 16
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 userId)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(userId));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(userId));
     }
 }
Exemplo n.º 17
0
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 productId, System.Int32 relatedProductId)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(productId, relatedProductId));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(productId, relatedProductId));
     }
 }
 public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 storeId, System.Int16 paymentProviderId, System.String name)
 {
     if (sqlAccessType == esSqlAccessType.DynamicSQL)
     {
         return(LoadByPrimaryKeyDynamic(storeId, paymentProviderId, name));
     }
     else
     {
         return(LoadByPrimaryKeyStoredProcedure(storeId, paymentProviderId, name));
     }
 }
Exemplo n.º 19
0
        static public void Delete(System.Int32 storeId, System.Int16 emailTemplateId, esSqlAccessType sqlAccessType)
        {
            var obj = new StoreEmailTemplate();

            obj.StoreId         = storeId;
            obj.EmailTemplateId = emailTemplateId;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 20
0
        static public void Delete(System.Int32 shippingServiceId, System.String name, esSqlAccessType sqlAccessType)
        {
            var obj = new ShippingServiceSetting();

            obj.ShippingServiceId = shippingServiceId;
            obj.Name = name;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 21
0
        static public void Delete(System.String customerID, System.String customerTypeID, esSqlAccessType sqlAccessType)
        {
            var obj = new CustomerCustomerDemo();

            obj.CustomerID     = customerID;
            obj.CustomerTypeID = customerTypeID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 22
0
        static public void Delete(System.Int32 productId, System.Int32 relatedProductId, esSqlAccessType sqlAccessType)
        {
            var obj = new RelatedProduct();

            obj.ProductId        = productId;
            obj.RelatedProductId = relatedProductId;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
        static public void Delete(System.Int32 storeId, System.Int16 paymentProviderId, System.String name, esSqlAccessType sqlAccessType)
        {
            var obj = new StorePaymentProviderSetting();

            obj.StoreId           = storeId;
            obj.PaymentProviderId = paymentProviderId;
            obj.Name = name;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 24
0
        static public void Delete(System.String userID, System.String userServiceUnitID, esSqlAccessType sqlAccessType)
        {
            var obj = new ADefHelpDeskUserUserGroup();

            obj.UserID            = userID;
            obj.UserServiceUnitID = userServiceUnitID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
        static public void Delete(System.Int32 childId, System.Int32 parentKeyId, System.String parentKeySub, esSqlAccessType sqlAccessType)
        {
            var obj = new ReverseCompositeChild();

            obj.ChildId      = childId;
            obj.ParentKeyId  = parentKeyId;
            obj.ParentKeySub = parentKeySub;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 26
0
 public virtual bool LoadAll(esSqlAccessType sqlAccessType)
 {
     return(false);
 }
Exemplo n.º 27
0
        static public void Delete(System.Int32 employeeID, System.String territoryID, esSqlAccessType sqlAccessType)
        {
            var obj = new EmployeeTerritories();

            obj.EmployeeID  = employeeID;
            obj.TerritoryID = territoryID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 28
0
 public virtual bool LoadAll(esSqlAccessType sqlAccessType)
 {
     return false;
 }
        static public void Delete(System.String sid1, System.String sid2, System.Int32 cid1, System.String cid2, esSqlAccessType sqlAccessType)
        {
            var obj = new StudentClass();

            obj.Sid1 = sid1;
            obj.Sid2 = sid2;
            obj.Cid1 = cid1;
            obj.Cid2 = cid2;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Exemplo n.º 30
0
        static public void Delete(System.Int32 storeId, System.String countryCode, System.String region, esSqlAccessType sqlAccessType)
        {
            var obj = new TaxRegion();

            obj.StoreId     = storeId;
            obj.CountryCode = countryCode;
            obj.Region      = region;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }