コード例 #1
0
        public void Insert(string PkSBranchID, string SName, string SParentBranchName, string FpSUpBranchID,
                           int?IntLevel, string SAddress, string SPhone, string SBussinessPhone, string SHotPhone, string SDutyPhone,
                           string SFAX, string SEMAIL, string STaxCode, string SAccountID, string SRepresentative, string SPosition,
                           string SProxyNumber, DateTime?TDateMandate, string SMandateUnitName, string SMandateUnitAddress,
                           DateTime?TInvalidDate, DateTime?TInputDate, string STyper, string SBankCode, string SLandSurveyUnitCode)
        {
            var item = new TblManagementUnit();

            item.PkSBranchID = PkSBranchID;

            item.SName = SName;

            item.SParentBranchName = SParentBranchName;

            item.FpSUpBranchID = FpSUpBranchID;

            item.IntLevel = IntLevel;

            item.SAddress = SAddress;

            item.SPhone = SPhone;

            item.SBussinessPhone = SBussinessPhone;

            item.SHotPhone = SHotPhone;

            item.SDutyPhone = SDutyPhone;

            item.SFAX = SFAX;

            item.SEMAIL = SEMAIL;

            item.STaxCode = STaxCode;

            item.SAccountID = SAccountID;

            item.SRepresentative = SRepresentative;

            item.SPosition = SPosition;

            item.SProxyNumber = SProxyNumber;

            item.TDateMandate = TDateMandate;

            item.SMandateUnitName = SMandateUnitName;

            item.SMandateUnitAddress = SMandateUnitAddress;

            item.TInvalidDate = TInvalidDate;

            item.TInputDate = TInputDate;

            item.STyper = STyper;

            item.SBankCode = SBankCode;

            item.SLandSurveyUnitCode = SLandSurveyUnitCode;


            item.Save(UserName);
        }
コード例 #2
0
 public bool Destroy(object PkSBranchID)
 {
     return(TblManagementUnit.Destroy(PkSBranchID) == 1);
 }