Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Patrick Koller 2 posts 72 karma points
    Sep 07, 2016 @ 14:43
    Patrick Koller
    0

    Create a Member Property Setter

    I created a new member type called IntranetMember and I want to set the value of this PasswordID property in the code. For that I need a setter in the Model. How can I create a setter in this Model?

    public partial class IntranetMember
    {
        ///<summary>
        /// Passwort ID
        ///</summary>
        [ImplementPropertyType("passwordID")]
        public string PasswordID
        {
            get { return this.GetPropertyValue<string>("passwordID"); }
            set { }
        }
    }
    

    Below is the code where i want to set the value in the member type property.

    intranetMember.PasswordID = passwordId;
    
Please Sign in or register to post replies

Write your reply to:

Draft