<commit_before>using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using Csla.Validation;

namespace ProjectTracker.Library
{
  [Serializable()]
  public class ProjectResource : BusinessBase<ProjectResource>
  {

    #region Business Methods

    private string _resourceId;
    private string _firstName = string.Empty;
    private string _lastName = string.Empty;
    private SmartDate _assigned = new SmartDate(DateTime.Today);
    private int _role;

    public string ResourceId
    {
      get
      {
        CanReadProperty(true);
        return _resourceId;
      }
    }

    public string FirstName
    {
      get
      {
        CanReadProperty(true);
        return _firstName;
      }
    }

    public string LastName
    {
      get
      {
        CanReadProperty(true);
        return _lastName;
      }
    }

    public string FullName
    {
      get { return string.Format("{0}, {1}", LastName, FirstName); }
    }

    public string Assigned<commit_msg>Add property access to FullName<commit_after>using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using Csla.Validation;

namespace ProjectTracker.Library
{
  [Serializable()]
  public class ProjectResource : BusinessBase<ProjectResource>
  {

    #region Business Methods

    private string _resourceId;
    private string _firstName = string.Empty;
    private string _lastName = string.Empty;
    private SmartDate _assigned = new SmartDate(DateTime.Today);
    private int _role;

    public string ResourceId
    {
      get
      {
        CanReadProperty(true);
        return _resourceId;
      }
    }

    public string FirstName
    {
      get
      {
        CanReadProperty(true);
        return _firstName;
      }
    }

    public string LastName
    {
      get
      {
        CanReadProperty(true);
        return _lastName;
      }
    }

    public string FullName
    {
      get
      {
        if (CanReadProperty("FirstName") && CanReadProperty("LastName"))
          return string.Format("{0}, {1}", LastName, FirstName);
        else
          throw new System.Security.SecurityException("Property read not allowed");
      }
    }

    public string Assigned
{'fraction_non_alphanumeric': 0.07894736842105263, 'fraction_numerical': 0.001784121320249777, 'mean_word_length': 2.337797619047619, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6612532', 'n_tokens_mistral': 646, 'n_tokens_neox': 629, 'n_words': 161}