Click here to Skip to main content
   

C#

 
GeneralRe: Who can help me to solve this problem ? PinmvpDave Kreskowiak20-Jan-13 7:12 
Questioncollections generic with wcf Pinmemberyonim12319-Jan-13 13:33 
AnswerRe: collections generic with wcf PinmemberSledgeHammer0119-Jan-13 14:03 
GeneralRe: collections generic with wcf Pinmemberyonim12319-Jan-13 14:20 
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
 
namespace BE
{
    [DataContract]
    public class BusinessAccount : Account
    {
        private string companyNumber;
        private string companyName;
        private List<string> authorizedSignatory = new List<string>();
 
        public BusinessAccount() { }
 
        public BusinessAccount(long number, int branchNumber, DateTime openingAccountDate, string password, int credit, int balance, 
                                AccountStatus status, AccountType account_Type, string companyNumber, string companyName, List<string> authorizedSignatory) 
                                : base(number,branchNumber,openingAccountDate,password,credit,balance,status,account_Type)
        {
            this.companyNumber = companyNumber;
            this.companyName = companyName;
            this.AuthorizedSignatory = authorizedSignatory;
        }
 
        [DataMember]
        public string CompanyNumber
        {
            get { return companyNumber; }
            set { companyNumber = value; }
        }
 
        [DataMember]
        public string CompanyName 
        {
            get { return companyName; }
            set { companyName = value; }
        }
 
        [DataMember]
        public List<string> AuthorizedSignatory
        {
            get { return authorizedSignatory; }
            set 
            {
                foreach (var item in value)
                    authorizedSignatory.Add(item);
            }
        }
    }
}

QuestionCannot Access the form _ Cross-thread operation Pinmembermohammadkaab19-Jan-13 10:50 
AnswerRe: Cannot Access the form _ Cross-thread operation Pinmemberjibesh19-Jan-13 22:29 
AnswerRe: Cannot Access the form _ Cross-thread operation Pinmemberpt140120-Jan-13 23:13 
GeneralRe: Cannot Access the form _ Cross-thread operation Pinmembermohammadkaab21-Jan-13 21:26 
Questionwcf p2p file transfering over internet Pinmembervab26108519-Jan-13 3:03 
QuestionWorking with tab escape charecter PinmemberMc_Topaz19-Jan-13 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid