当前位置: 首页>>代码示例>>C#>>正文


C# Accounting_Solution_Software.DbObject类代码示例

本文整理汇总了C#中Accounting_Solution_Software.DbObject的典型用法代码示例。如果您正苦于以下问题:C# DbObject类的具体用法?C# DbObject怎么用?C# DbObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DbObject类属于Accounting_Solution_Software命名空间,在下文中一共展示了DbObject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: UpdateRow

 public int UpdateRow(int id, string NoBon, string KodeBarang, string NamaBarang, string KodeRacikan, float QtyRacikan, string Satuan, float HargaJual, float dicount, float discountPersen, string NomorResep, string NamaDokter, DateTime TanggalResep, string NamaPasien, string UmurPasien, float HargaSatuan, string KodePelanggan, string NamaPelanggan)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("id",id),
             new SqlParameter("NoBon",NoBon),
             new SqlParameter("KodeBarang",KodeBarang),
             new SqlParameter("NamaBarang",NamaBarang),
             new SqlParameter("KodeRacikan",KodeRacikan),
             new SqlParameter("QtyRacikan",QtyRacikan),
             new SqlParameter("Satuan",Satuan),
             new SqlParameter("HargaJual",HargaJual),
             new SqlParameter("Discount",dicount),
             new SqlParameter("DiscountPers",discountPersen),
             new SqlParameter("NomorResep",NomorResep),
             new SqlParameter("NamaDokter",NamaDokter),
             new SqlParameter("TanggalResep",TanggalResep),
             new SqlParameter("NamaPasien",NamaPasien),
             new SqlParameter("UmurPasien",UmurPasien),
             new SqlParameter("HargaSatuan",HargaSatuan),
             new SqlParameter("KodePelanggan",KodePelanggan),
             new SqlParameter("NamaPelanggan",NamaPelanggan)
         };
     Result = dbo.RunProcedure("sp_Racikan_Update", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:29,代码来源:Racikan.cs

示例2: InsertRow

 public int InsertRow(string NamaPerusahaan, string Alamat, string Kota, string KodePos, string Kode_Area, string Telepon1, string Telepon2, string Fax, string Email, string Web, string KodeBon, string KodeSJ, string Alamat1, bool Cetakan1, string Reg, bool Cetakan2, bool Cetakan3, DateTime TanggalPKP, string NamaPKP, string FakturSign, string NPWP, string Jabatan, bool StatusLogo, string NamaFileGambar1)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("NamaPerusahaan",NamaPerusahaan),
             new SqlParameter("Alamat",Alamat),
             new SqlParameter("Kota",Kota),
             new SqlParameter("KodePos",KodePos),
             new SqlParameter("Kode_Area",Kode_Area),
             new SqlParameter("Telepon1",Telepon1),
             new SqlParameter("Telepon2",Telepon2),
             new SqlParameter("Fax",Fax),
             new SqlParameter("Email",Email),
             new SqlParameter("Web",Web),
             new SqlParameter("KodeBon",KodeBon),
             new SqlParameter("KodeSJ",KodeSJ),
             new SqlParameter("Alamat1",Alamat1),
             new SqlParameter("Cetakan1",Cetakan1),
             new SqlParameter("Reg",Reg),
             new SqlParameter("Cetakan2",Cetakan2),
             new SqlParameter("Cetakan3",Cetakan3),
             new SqlParameter("TanggalPKP",TanggalPKP),
             new SqlParameter("NamaPKP",NamaPKP),
             new SqlParameter("FakturSign",FakturSign),
             new SqlParameter("NPWP",NPWP),
             new SqlParameter("Jabatan",Jabatan),
             new SqlParameter("StatusLogo",StatusLogo),
             new SqlParameter("NamaFileGambar1",NamaFileGambar1)
         };
     Result = dbo.RunProcedure("sp_OwnerIdentity_Insert", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:35,代码来源:OwnerIdentity.cs

示例3: UpdateRow

 public int UpdateRow(string NomorGiro, DateTime TanggalTitipan, string PemberiGiro, float NilaiGiro, DateTime TanggalJT, DateTime TanggalCair1, string NoRekening, string NamaBank, string NamaToko, float SaldoJml, bool StatusGiro, bool StatusCair, bool StatusDibayar, string Keterangan, string KodeSalesman, string No_Bukti)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("NomorGiro",NomorGiro),
             new SqlParameter("TanggalTitipan",TanggalTitipan),
             new SqlParameter("PemberiGiro",PemberiGiro),
             new SqlParameter("NilaiGiro",NilaiGiro),
             new SqlParameter("TanggalJT",TanggalJT),
             new SqlParameter("TanggalCair1",TanggalCair1),
             new SqlParameter("NoRekening",NoRekening),
             new SqlParameter("NamaBank",NamaBank),
             new SqlParameter("NamaToko",NamaToko),
             new SqlParameter("SaldoJml",SaldoJml),
             new SqlParameter("StatusGiro",StatusGiro),
             new SqlParameter("StatusCair",StatusCair),
             new SqlParameter("StatusDibayar",StatusDibayar),
             new SqlParameter("Keterangan",Keterangan),
             new SqlParameter("KodeSalesman",KodeSalesman),
             new SqlParameter("No_Bukti",No_Bukti)
         };
     Result = dbo.RunProcedure("sp_BilyetGiro_Update", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:27,代码来源:BilyetGiro.cs

示例4: Modul_Barang_Pemindahan

 public Modul_Barang_Pemindahan(Modul_Barang_Data mbd)
 {
     InitializeComponent();
     dbo = new DbObject();
     obj = new stockMovement();
     this.mdb = mbd;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:7,代码来源:Modul_Barang_Pemindahan.cs

示例5: UpdateRow

 public int UpdateRow(int id, string NomorBukti, float Qty, string KodeBarang, float HargaBeli, float Disc, float DiscRp, float SubJumlah, float Jumlah, string Keterangan, DateTime TglTransaksi, DateTime TglPembukuan, string KodeSupplier, float PPn, float PPnRp, float Bulat, DateTime TglKadaluarsa)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("id",id),
             new SqlParameter("NomorBukti",NomorBukti),
             new SqlParameter("Qty",Qty),
             new SqlParameter("KodeBarang",KodeBarang),
             new SqlParameter("HargaBeli",HargaBeli),
             new SqlParameter("Disc",Disc),
             new SqlParameter("DiscRp",DiscRp),
             new SqlParameter("SubJumlah",SubJumlah),
             new SqlParameter("Jumlah",Jumlah),
             new SqlParameter("Keterangan",Keterangan),
             new SqlParameter("TglTransaksi",TglTransaksi),
             new SqlParameter("TglPembukuan",TglPembukuan),
             new SqlParameter("KodeSupplier",KodeSupplier),
             new SqlParameter("PPn",PPn),
             new SqlParameter("PPnRp",PPnRp),
             new SqlParameter("Bulat",Bulat),
             new SqlParameter("TglKadaluarsa",TglKadaluarsa)
         };
     Result = dbo.RunProcedure("sp_SubBeli_Update", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:28,代码来源:SubBeli.cs

示例6: UpdateRow

 public int UpdateRow(string KodePelanggan, string NamaPelanggan, string ContactPerson, string Alamat, string Kota, string KodePos, string Telepon1, string Telepon2, string Fax, string KodeArea, float PiutangAwal, string Acc_No, float JmlHari, float DiscTotal, float TotalPoint, string KodeGroup)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("KodePelanggan",KodePelanggan),
             new SqlParameter("NamaPelanggan",NamaPelanggan),
             new SqlParameter("ContactPerson",ContactPerson),
             new SqlParameter("Alamat",Alamat),
             new SqlParameter("Kota",Kota),
             new SqlParameter("KodePos",KodePos),
             new SqlParameter("Telepon1",Telepon1),
             new SqlParameter("Telepon2",Telepon2),
             new SqlParameter("Fax",Fax),
             new SqlParameter("KodeArea",KodeArea),
             new SqlParameter("PiutangAwal",PiutangAwal),
             new SqlParameter("Acc_No",Acc_No),
             new SqlParameter("JmlHari",JmlHari),
             new SqlParameter("DiscTotal",DiscTotal),
             new SqlParameter("TotalPoint",TotalPoint),
             new SqlParameter("KodeGroup",KodeGroup)
         };
     Result = dbo.RunProcedure("sp_Customer_Update", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:27,代码来源:Customer.cs

示例7: UpdateRow

 public int UpdateRow(string NoBG, string NamaBank, string NoRekening, DateTime TJT, DateTime TGLKeluar, string Untuk, string NamaToko, float NilaiGiro, bool StCair, bool StBatal, string Pribadi, float SaldoJml, string No_Bukti, string Keterangan)
 {
     int RowsAffected = 0;
     int Result = 0;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("NoBG",NoBG),
             new SqlParameter("NamaBank",NamaBank),
             new SqlParameter("NoRekening",NoRekening),
             new SqlParameter("TJT",TJT),
             new SqlParameter("TGLKeluar",TGLKeluar),
             new SqlParameter("Untuk",Untuk),
             new SqlParameter("NamaToko",NamaToko),
             new SqlParameter("NilaiGiro",NilaiGiro),
             new SqlParameter("StCair",StCair),
             new SqlParameter("StBatal",StBatal),
             new SqlParameter("Pribadi",Pribadi),
             new SqlParameter("SaldoJml",SaldoJml),
             new SqlParameter("No_Bukti",No_Bukti),
             new SqlParameter("Keterangan",Keterangan)
         };
     Result = dbo.RunProcedure("sp_Giro_Update", parameters, out RowsAffected);
     return Result;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:25,代码来源:Giro.cs

示例8: Modul_Akuntansi_TutupBuku

 public Modul_Akuntansi_TutupBuku()
 {
     InitializeComponent();
     dbo = new DbObject();
     obj = new JurnalUmum();
     subObj = new SubJurnalUmum();
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:7,代码来源:Modul_Akuntansi_TutupBuku.cs

示例9: Modul_Penjualan_PembayaranPiutang

        public Modul_Penjualan_PembayaranPiutang(Modul_Penjualan_DaftarPiutang daftarPiutang, DataGridViewRow dgvRow)
        {
            /*kodesupplier
            namasupplier
            faktur
            tanggal faktur
            saldo hutang
            */

            InitializeComponent();
            this.daftarPiutang = daftarPiutang;
            this.dgvRow = dgvRow;
            fakturTxt.Text = dgvRow.Cells[2].Value.ToString();
            kodeCustomerTextBox.Text = dgvRow.Cells[0].Value.ToString();
            namaCustomerTextBox.Text = dgvRow.Cells[1].Value.ToString();
            pembayaranTxt.Text = "0" ;
            sisaPiutangTxt.Text = allfunc.digit_separated(dgvRow.Cells[3].Value.ToString());
            SqlDataReader sdr = dbo.get_single_data(new string[]{"NO_Bukti","TJT"},"FAKTUR",dgvRow.Cells[2].Value.ToString()+"' AND LOWER(posisiperkiraan) = 'debit","piutang");
            while(sdr.Read())
            {
                tJTDateTimePicker.Value = (DateTime)sdr["TJT"];
                noBuktiTxt.Text = (string)sdr["NO_Bukti"];
            }
            DbObject db1 = new DbObject();
            SqlDataReader sdr1 = db1.get_single_data(new string[] { "JumlahPenjualan" }, "nobon", fakturTxt.Text, "jual");
            while (sdr1.Read())
            {
                nominalTextBox.Text = allfunc.digit_separated(Convert.ToString((double)sdr1["JumlahPenjualan"]));
            }
            if(sisaPiutangTxt.Text.CompareTo("0")==0)
            {
                bayarBtn.Enabled = false;
            }
        }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:34,代码来源:Modul_Penjualan_PembayaranPiutang.cs

示例10: Modul_Pembelian_InputBarangPopup

 public Modul_Pembelian_InputBarangPopup(Modul_Pembelian pembelian)
 {
     InitializeComponent();
     this.pembelian = pembelian;
     this.allFunc = new AllFunc();
     this.allFunc.Prefix = "Stock";
     this.dbo = new DbObject();
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:8,代码来源:Modul_Pembelian_InputBarangPopup.cs

示例11: generateNoBukti

 public SqlDataReader generateNoBukti()
 {
     SqlDataReader sdr = null;
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]{};
     sdr = dbo.RunProcedure("sp_get_noBukti_jurnal_umum", parameters);
     return sdr;
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:8,代码来源:JurnalUmum.cs

示例12: Modul_Pembelian_PurchaseOrder

        public Modul_Pembelian_PurchaseOrder(MainForm mf)
        {
            InitializeComponent();
            allFunc = new AllFunc("Purchase Order",mf);
            dbo = new DbObject();

            this.mf = mf;
        }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:8,代码来源:Modul_Pembelian_PurchaseOrder.cs

示例13: SelectRow

 public DataSet SelectRow(string id)
 {
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("id",id)
         };
     return dbo.RunProcedure("sp_Gudang_SelectRow", parameters, "Gudang");
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:9,代码来源:Gudang.cs

示例14: SelectRow

 public DataSet SelectRow(int id)
 {
     DbObject dbo = new DbObject();
     SqlParameter[] parameters = new SqlParameter[]
         {
             new SqlParameter("id",id)
         };
     return dbo.RunProcedure("sp_SubJurnalUmum_SelectRow", parameters, "SubJurnalUmum");
 }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:9,代码来源:SubJurnalUmum.cs

示例15: SelectAll

        public DataSet SelectAll()
        {
            DbObject dbo = new DbObject();
            SqlParameter[] parameters = new SqlParameter[]
                {

                };
            return dbo.RunProcedure("sp_SubJurnalUmum_SelectAll", parameters, "SubJurnalUmum");
        }
开发者ID:aldowrable,项目名称:accountingsolution,代码行数:9,代码来源:SubJurnalUmum.cs


注:本文中的Accounting_Solution_Software.DbObject类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。