Example #1
0
        /// <summary>
        /// Deletes the specified business score id.
        /// </summary>
        /// <param name="BusinessScoreId">The business score id.</param>
        public static int Create(string Key, string Name)
        {
            BusinessScoreRow row = new BusinessScoreRow();

            row.Key = Key;
            row.Name = Name;

            row.Update();
            return row.PrimaryKeyId;
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BusinessScore"/> class.
 /// </summary>
 /// <param name="row">The row.</param>
 private BusinessScore(BusinessScoreRow row)
 {
     _srcRow = row;
 }