Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: backup and restore Pin
Harvey Saayman15-Sep-09 23:30
Harvey Saayman15-Sep-09 23:30 
AnswerOh Hang on Pin
Keith Barrow15-Sep-09 23:31
professionalKeith Barrow15-Sep-09 23:31 
AnswerRe: backup and restore Pin
rakesh_choudhury15-Sep-09 23:47
rakesh_choudhury15-Sep-09 23:47 
AnswerRe: backup and restore Pin
Harvey Saayman15-Sep-09 23:52
Harvey Saayman15-Sep-09 23:52 
AnswerRe: backup and restore Pin
Christian Graus16-Sep-09 1:30
protectorChristian Graus16-Sep-09 1:30 
QuestionInheritance Problem. Can I do this? Pin
TheFoZ15-Sep-09 23:13
TheFoZ15-Sep-09 23:13 
AnswerRe: Inheritance Problem. Can I do this? Pin
dojohansen15-Sep-09 23:35
dojohansen15-Sep-09 23:35 
GeneralRe: Inheritance Problem. Can I do this? Pin
TheFoZ16-Sep-09 1:49
TheFoZ16-Sep-09 1:49 
Thanks for you reply but I am having a few problems. I have set it out like you have above but my properties have private members associated to them. If I have code in the get & set on the base I get an error in the inherited class "inherited.staffid.set cannot override inherited member base.StaffID.set because it is not marked virtual, abstract or overrride." My base class property is marked virtual and the inherited is marked override.

public class StaffMember
{
    protected int staffID;

    virtual public int StaffID
    {
        get { return staffID; }
        set { staffID = value }
    }
}

public class StaffMemberOracle : StaffMember, INullable, IOracleCustomType 
{
    [OracleObjectMappingAttribute("STAFFID")]
    override void int StaffID
    {
        get { return staffID; }
        set { staffID = value }
    }
}


I think I may be going about this the wrong way.

Cheers

The FoZ

GeneralRe: Inheritance Problem. Can I do this? Pin
dojohansen16-Sep-09 2:06
dojohansen16-Sep-09 2:06 
AnswerRe: Inheritance Problem. Can I do this? Pin
TheFoZ16-Sep-09 2:08
TheFoZ16-Sep-09 2:08 
GeneralRe: Inheritance Problem. Can I do this? Pin
dojohansen16-Sep-09 3:33
dojohansen16-Sep-09 3:33 
GeneralRe: Inheritance Problem. Can I do this? Pin
TheFoZ16-Sep-09 3:50
TheFoZ16-Sep-09 3:50 
QuestionC# program deployment issue Pin
spankyleo12315-Sep-09 23:08
spankyleo12315-Sep-09 23:08 
AnswerRe: C# program deployment issue Pin
Christian Graus15-Sep-09 23:12
protectorChristian Graus15-Sep-09 23:12 
AnswerRe: C# program deployment issue Pin
musefan15-Sep-09 23:16
musefan15-Sep-09 23:16 
GeneralRe: C# program deployment issue Pin
spankyleo12315-Sep-09 23:28
spankyleo12315-Sep-09 23:28 
GeneralRe: C# program deployment issue Pin
musefan15-Sep-09 23:40
musefan15-Sep-09 23:40 
Questionhow to take the text of an item in a checkedlistbox Pin
billy dev15-Sep-09 22:00
billy dev15-Sep-09 22:00 
AnswerRe: how to take the text of an item in a checkedlistbox Pin
Christian Graus15-Sep-09 22:03
protectorChristian Graus15-Sep-09 22:03 
AnswerRe: how to take the text of an item in a checkedlistbox Pin
Abhishek Sur15-Sep-09 22:21
professionalAbhishek Sur15-Sep-09 22:21 
QuestionHow to log-on a windows xp user Pin
SummerBulb15-Sep-09 21:56
SummerBulb15-Sep-09 21:56 
AnswerRe: How to log-on a windows xp user Pin
Christian Graus15-Sep-09 22:00
protectorChristian Graus15-Sep-09 22:00 
AnswerRe: How to log-on a windows xp user Pin
musefan15-Sep-09 22:00
musefan15-Sep-09 22:00 
GeneralRe: How to log-on a windows xp user Pin
SummerBulb15-Sep-09 22:06
SummerBulb15-Sep-09 22:06 
AnswerRe: How to log-on a windows xp user Pin
SummerBulb15-Sep-09 22:45
SummerBulb15-Sep-09 22:45 

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

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