an Example based on the SQLWhereLanguageDef

In order to impose the restriction that requires the property LimitFunction structure LoadingCustomizationStruct limiting set function (ICSSoft.STORMNET.FunctionalLanguage.Function) any language restrictions.

In the example below, taken language ICSSoft.STORMNET.FunctionalLanguage.SQLWhere. SQLWhereLanguageDef for specifying constraints in SQL queries, and is formed by a limit (select all «Ivana Ivanovic»):

	LoadingCustomizationStruct lcs = LoadingCustomizationStruct.GetSimpleStruct(typeof(Автор), Автор.Views.Главное);				
	/*Other initialization*/
	SQLWhereLanguageDef langdef = SQLWhereLanguageDef.LanguageDef;
	Function lf = langdef.GetFunction(langdef.funcAND,
				langdef.GetFunction(langdef.funcLike, 
				new VariableDef(langdef.StringType, "Name"), "Ivan"),
				langdef.GetFunction(langdef.funcLike, 
				new VariableDef(langdef.StringType, "Patronymic"), "I."));		
    lcs.LimitFunction = lf;
	/*Read*/