CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DataConfigurationExtensions.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="CslaDataConfiguration.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Use this type to configure the settings for CSLA .NET</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Configuration
11{
15 public static class DataConfigurationExtensions
16 {
20 public static CslaOptions Data(this CslaOptions config, Action<DataOptions> options)
21 {
22 options?.Invoke(config.DataOptions);
23 return config;
24 }
25 }
26}